Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Category: News

News API is a service that simplifies access to real-time and categorized news articles from diverse global sources.

Tier: 3

Supported API Version: v2

Type: Source

Authentication: Token-based

Resources

Sub resources

Status

Description

Parameters

Articles

All Articles

Yes

This resource, depending on your subscription plan will return every article for the passed keyword.

 

●       Search Query: Your preferred keyword(s) to search.

Headlines

Top Headlines for a Country

Yes

This resource, depending on your subscription plan will return the top trending articles for a particular country.

 

●       Country: A filter query to search articles that are published in that country.

How to get Access token

Step 1: Login to https://newsapi.org/login

Step 2: You will be taken to the dashboard of NewsApi once you login.

Step 3: On the same page select Get API Key.

image-20240402-090809.png

Step 4: use the above mentioned section to get Api Key.

image-20240402-090925.png

EazyDI create connection:

image-20240402-091119.png

Name

Mandatory

Description

Connection Name

Yes

Name of the connection

Description

No

Description of connection

API Key

Yes

Access token of your account

Please refer to above section on how to generate the access token for getting access token

Creating Pipeline:

Step 1: Select Source Connector as NewsApi

image-20240402-091431.png

Step 2: Select Connection from the dropdown

image-20240402-094148.png

Step 3: Configure the connection object and click Save button.

 

image-20240402-093843.png

Step 4: Verify the connection details in the section and click on Next button

image-20240402-093948.png

Step 5: Select the Target connection and connection object and click on Next button.

Step 6: Configure field mapping page and click on Next button.

Step 7: Select the scheduling and proceed ahead by clicking on Next button.

Step 8: Confirm the details that you have selected for this pipeline and click on Submit and the pipeline will be created.

 

 

  • No labels