Created
October 7, 2014 19:08
-
-
Save coffeemug/06a8c44b4c8e20d8fa06 to your computer and use it in GitHub Desktop.
Grab top stories into RethinkDB via Hacker News API
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
r.http("https://hacker-news.firebaseio.com/v0/topstories.json").limit(5).map( | |
r.http(r.add("https://hacker-news.firebaseio.com/v0/item/", | |
r.row.coerceTo('string'), | |
".json")) | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment