by minimaxir · 12y ago · 0 comments
[1]: https://chrome.google.com/webstore/detail/hacker-news-sideba...
Also, you can set hitsPerPage = 1000. ;)
- Python module: https://github.com/karan/HackerNewsAPI
- REST API: https://github.com/karan/HNify
RATE LIMITS
We are limiting the number of API requests from a single IP to 1000 per hour.
If you or your application has been blacklisted and you think there has been
an error, please contact us.You can query 1,000 stories per request, and do 1,000 requests per hour. That's 1M requests per hour. There are 1.26M Hacker News stories indexed by the API. :)
EDIT: Finished downloading all the entries (and can confirm that 1.26M is indeed all of them). Took 3 hours due to a conservative wait period between each request to make sure I stayed within the limits.