How to use News Api to obtain newsapi ?
The folder attached can be used on jupyter notebook or google colab book on your google account.
I have include the parameters in the 3 sections for News Api , you can download and change them accordingly.
Endpoints
News API has 2 main endpoints:
Top headlines /v2/top-headlines - returns breaking news headlines for a country and category, or currently running on a single or multiple sources. This is perfect for use with news tickers or anywhere you want to display live up-to-date news headlines and images.
Everything /v2/everything - we index every recent news and blog article published by over 50,000 different sources large and small, and you can search through them with this endpoint. This endpoint is better suited for news analysis and article discovery, but can be used to retrieve articles for display too.
We also have a minor endpoint that can be used to retrieve a small subset of the publishers we index from:
Sources /v2/sources - returns information (including name, description, and category) about the most notable sources we index. This list could be piped directly through to your users when showing them some of the options available.
source https://newsapi.org/docs/get-started
Have fun!!!!!