Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Is there any possible way to get only the front page without using scraping tools?


Per api.iHackerNews.com, you could do this.

    http://api.ihackernews.com/page or
    http://api.ihackernews.com/page/{nextId}
I just ran a GET request against those endpoints with Postman[1] and got what looks like exactly the right data in JSON format.

[1] - https://chrome.google.com/webstore/detail/postman-rest-clien...


Thanks! :D




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: