Created
October 9, 2014 20:10
-
-
Save ckolderup/efb9ff0635eee61ab3fb to your computer and use it in GitHub Desktop.
get titles of all top hacker news stories
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
curl -s -S "https://hacker-news.firebaseio.com/v0/topstories.json" | jq ".[]" | xargs -I % curl -s -S "https://hacker-news.firebaseio.com/v0/item/%.json" | jq ".title" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment