4 ms·
What... wait what.... There is an official API and no one told ... what? Ok, I'm seriously scraping, and I seriously dislike it, sound like HackerSwifter will
by dimillian 12y ago
What... wait what.... There is an official API and no one told ... what?
Ok, I'm seriously scraping, and I seriously dislike it, sound like HackerSwifter will now use the API! Thanks!
Edit: But there is no endpoint to have the top items, ask hn etc... right?
- e15ctr0n 12y agoOctopart initially provided the official API[1] and then Algolia took over early this year[2]. [1] https://www.hnsearch.com/api https://www.hnsearch.com/api [2] https://news.ycombinator.com/item?id=7130590 https://news.ycombinator.com/item?id=7130590 A lot of people seem to have used the API to build cool apps. https://hn.algolia.io/cool_apps https://hn.algolia.io/cool_apps I would read the docs first and jump to conclusions later.
- redox_ 12y agoLast Show HN: http://hn.algolia.com/api/v1/search_by_date?tags=story,show_hn http://hn.algolia.com/api/v1/search_by_date?tags=story,show_... Last Ask HN: http://hn.algolia.com/api/v1/search_by_date?tags=story,ask_hn http://hn.algolia.com/api/v1/search_by_date?tags=story,ask_h... Front page: https://news.ycombinator.com/rss https://news.ycombinator.com/rss You should be able to build something :)
- dang 12y agoWork is underway on an API to do all of this. Nick and Scott are hacking on it about three feet to my right just now. The days of scraping are numbered.
- jordanbrown 12y agoGreat news!
- dimillian 12y agoThis is awesome. So it'll be a new API or an extension of the Algolia API?
- dang 12y agoThe former.
- goblin89 12y agoYCombinator doesn't endorse Algolia's HN API in any public way, to my knowledge. This makes it just regular third-party API—reliable, convenient, better than scraping, but hardly ‘official’. (Yes, I'm being pedantic.)
- carbocation 12y agoIt seems to in the sense that Algolia powers the HN Search at the bottom of every window, and they are co-branded on those search pages. Also, https://hn.algolia.com/api https://hn.algolia.com/api
- goblin89 12y agoTrue that, I take back my comment.