Unofficial Hacker News Streaming API

uses HN's firebase API as the data source. endpoints below are powered by
contact: justin

Between this and HNSearch, maybe your programs don't have to hit HN itself too much.

All articles start: GET
All articles next: GET{last_cursor}
All articles stream: GET
All comments start: GET
All comments next: GET{last_cursor}
All comments stream: GET
Per-article comments start: GET{article-id}/comments/items/
Per-article comments next: GET{article-id}/comments/items/?since=cursor:{last_cursor}
Per-article comments stream: GET{article-id}/comments/stream/

The "all comments" API is being used below, to display the latest comments as they are posted.

wrote on , :