Description Usage Arguments Details Value Examples
Retrieves latest ask stories using Hacker News API
1 | get_latest_ask_stories(max_items = NULL)
|
max_items |
Maximum number of items to retrieve. If max_items = NULL, returns all available |
Parallel api requests can be enabled by running
future::plan(future::multiprocess)
list of latest ask HN stories ids
1 2 3 4 5 6 7 8 9 10 11 12 | # get the lastest ask story on Hacker News
latest_ask_story <- get_latest_ask_stories(max_items = 1)
latest_ask_story
# get 10 latest ask stories on Hacker News
latest_10_ask_stories <- get_latest_ask_stories(max_items = 10)
latest_10_ask_stories
# get all latest ask stories on Hacker News
latest_ask_stories <- get_latest_ask_stories()
latest_ask_stories
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.