max_items: Maximum number of items to retrieve. If max_items = NULL, returns all available stories
Returns
List of top stories
Details
Parallel api requests can be enabled by running future::plan(future::multiprocess)
Examples
# get the top story on Hacker Newstop_story <- get_top_stories(max_items =1)top_story
# get all top stories on Hacker Newstop_stories <- get_top_stories()top_stories