News API for General News

I create a database + tool that looks at news feeds for a certain period. For example, "food poisoning from nuts." I want to undermine social networking sites, news sites, major news aggregators, etc ... for this period.

  • Question 1: What are some of the news aggregating APIs?
  • Question 2: How would you do coding and get only the latest news from the API?

Change Added schema: alt text http://koopics.com/news_parser.jpg

+4
source share
4 answers

Do you know Yahoo! Pipes This is a very flexible feed aggregator, and you can manipulate it using YQL, which is quite powerful and has Python librabry, python-yql :). YQL also has special “tables” for Twitter and other services and news sources, so depending on what you want, you won’t even need Pipes.

Here is a quick example of using Pipes + YQL at http://blog.ouseful.info/2009/04/27/using-yql-with-yahoo-pipes/ , but you can play with them in the YQL Console .

So this is your “Question 1”. But, using YQL, “Question 2” (if I understood correctly) comes naturally, since you use it almost like regular SQL, imposing restrictions, ordering, etc.

+4
source

Have you tried Universtal Feed Parser

+1
source

Google has api news feeds, but I think it's for non-commercial use only http://www.google.com/support/news/bin/answer.py?answer=59255&hl=en

0
source

If you have financial support supporting your project, Reuters has news feeds that you can subscribe to on a monthly basis.

0
source

Source: https://habr.com/ru/post/1307139/


All Articles