How to read news from google?

News API is a simple and easy-to-use API that returns JSON metadata for headlines and articles live all over the web right now.

News API is a simple HTTP REST API for searching and retrieving live articles from all over the web. It can help you answer questions like:

  • What top stories is the NY Times running right now?
  • What new articles were published about the next iPhone today?
  • Has my company or product been mentioned or reviewed by any blogs recently?
  • How many social shares has an article received? Coming soon!
You can search for articles with any combination of the following criteria:
  • Keyword or phrase. Eg: find all articles containing the word ‘Microsoft’.
  • Date published. Eg: find all articles published yesterday.
  • Source name. Eg: find all articles by ‘TechCrunch’.
  • Source domain name. Eg: find all articles published on nytimes.com.
  • Language. Eg: find all articles written in English.
You can sort the results in the following orders:
  • Date published
  • Relevancy to search keyword
  • Popularity of source
  • Social shares Coming soon!
You need an API key to use the API – this is a unique key that identifies your requests. They’re free for development, open-source, and non-commercial use. You can get one here: get API key.

https://newsapi.org/s/google-news-api

Published by arjunpremier

Software Engineer, Blogger,

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Design a site like this with WordPress.com
Get started