Live data from Hacker News

Hacker News API

blog.ycombinator.com

311–315 of 315 posts

Re: Hacker News API

#313
Suggestions for improving the API, to make it more valuable for data mining and analytics. This assumes more historical data is available.

1. Provide a way to bulk download the data (that's a click, instead of scraping the API)

2. Add a field for the maximum position a story reached on the front page

3. Add the numerical score for the comment (at least on comments that are N days old, which won't interfere with the reason to hide the scores on the main comments)

Some other changes that would be awesome (but are less realistic) include:

4. A historical event log of votes (even better would be relating those votes back to users, but I imagine that's not going to happen for privacy reasons. An intermediate possibility would be a vote log connected back to anonymized user ids, assuming the anonymous id -> real user id mapping is difficult)

5. A historical event log of display position changes for stories & comments

6. An event log of pageviews with as much metadata as possible to release without infringing on privacy

Re: Hacker News API

#315

Very cool, I'm glad I prepped my android app for this :D One question: why the choice of returning everything as an ID, on mobile, this will require a lot of very small network requests.

If you use the Firebase SDKs the request is sent over a reused full duplex socket rather than creating new/individual connections.

Yeah, unfortunately, I'm trying to not use any closed source stuff in the app. Going to write some service layer stuff for it
Post reply on HN