HackerSwifter
HackerSwifter copied to clipboard
Use Algolia API
Use it for everything else than front page
https://hn.algolia.io/api
At the moment we scrape the website, now we should only scrap the home page, and load comments from the API. Also load users post from the API. Add a search feature too
Actually, you can get the front page via
http://hn.algolia.com/rss.json
Top 30 stories, including the comments.
Also, this just came out - http://blog.ycombinator.com/hacker-news-api
Yup, I'll definitely use it when it'll be more mature. I don't want to use the firebase SDK, and at the moment the API just send a list of ID, you need to do a query to get the detail for each ids. Not at all mobile friendly.