I recently found out about http://thenews.im thanks to @gcollazo. The News is a pretty cool project by ahmetsulek that brings together under one same site LayerVault’s Designer News and Y Combinator’s Hacker News.
I decided to take advantage of having all those posts from two different sources together and built a scraper for it with Node.js. Once I had all the posts stored and updated on my side I thought it’d be cool to implement a JSON endpoint to allow anyone to use the data however they want.
Example:
Available endpoints:
- http://thenews-api.herokuapp.com/top/
- http://thenews-api.herokuapp.com/top/hn
- http://thenews-api.herokuapp.com/top/dn
Data format:
The project/hack is available in GitHub. Star, Watch, Fork at https://github.com/jpadilla/thenews-api