get_new_stories | R Documentation |
Retrieves newest stories using Hacker News API
get_new_stories(max_items = NULL)
max_items |
Maximum number of items to retrieve. If max_items = NULL, returns all available |
list of new stories
# get the newest story on Hacker News
newest_story <- get_new_stories(max_items = 1)
newest_story
# get all new stories on Hacker News
new_stories <- get_new_stories()
new_stories
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.