News for hackers. Stuff that matters.
Re:Show HN: NewsAPI – A free API for live news headlines and... by highace on Wednesday July 06, 2016 @09:02AM (#12042761)
Hi HN! This is my side project. I needed to integrate the latest headlines and images from a range of popular news sources and blogs into my app, and found that there wasn't a single API available that brought all the metadata together in a simple and consistent way. So I made one. It sources data from individual APIs, RSS feeds, and plain old scraping, and outputs in JSON.

Here's some example responses:

TechCrunch: https://newsapi.org/v1/articles?source=techcrunch&sortBy=lat...

Reuters: https://newsapi.org/v1/articles?source=reuters&sortBy=latest...

BBC News: https://newsapi.org/v1/articles?source=bbcnews&sortBy=top&ap...

Re:Show HN: NewsAPI – A free API for live news headlines and... by erlehmann_ on Wednesday July 06, 2016 @09:37AM (#12042944)
Why is the output format not RSS or Atom feeds? It could be trivially collected and re-used then without coding to your API.
Re:Show HN: NewsAPI – A free API for live news headlines and... by highace on Wednesday July 06, 2016 @04:39PM (#12045752)
Great suggestion. I'll put this on the road map.
Re:Show HN: NewsAPI – A free API for live news headlines and... by erlehmann_ on Thursday July 07, 2016 @12:08PM (#12050195)
Nice. I would suggest to always use Atom instead of RSS, as it can do everything RSS can and more (e.g. multiple enclosures).
Re:Show HN: NewsAPI – A free API for live news headlines and... by LaurenceW1 on Wednesday July 06, 2016 @10:11AM (#12043132)
is this open source?