4 ms·
You can stream the ID of the most recent item with something like this: curl -N -H "Accept: text/event-stream" "https://hacker-news.firebaseio.com/v0/maxitem
by rahimnathwani 1y ago
You can stream the ID of the most recent item with something like this:
curl -N -H "Accept: text/event-stream" "https://hacker-news.firebaseio.com/v0/maxitem.json"
Then you will need to iterate through the new item IDs and fetch them, e.g.
https://hacker-news.firebaseio.com/v0/item/45534174.json https://hacker-news.firebaseio.com/v0/item/45534174.json