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

« Previous Version 2 Next »

Category: News

Gnews is a web service offering real-time and categorized news content from diverse sources.

Tier: 3

Supported API Version: v4

Type: Source

Authentication: Token-based

Resources:

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 (Note – All articles will be returned in English language only).

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

 

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

 

● Start Date: A filter query to search articles starting from a particular date.

● End Date: A filter query to search articles till a particular date.

Headlines

Top Headlines

Yes

This resource, depending on your subscription plan will return the top trending articles.

(Note – All articles will be returned in English language only).

● Category: Your preferred category name to receive results.

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

 

● Start Date: A filter query to search articles starting from a particular date.

● End Date: A filter query to search articles till a particular date.

How to get Access token

Step 1: Login to https://gnews.io/login

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

Step 3: Under the panel at left side, click on My account, you will find your Api key.

EazyDI create connection:

image-20240328-110131.png

Connection Properties:

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 Gnews.

image-20240328-110543.png

 

Step 2: Select Connection from the dropdown

image-20240328-114817.png

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

image-20240328-115016.png

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

image-20240328-115054.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.

image-20240328-115138.png

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.

image-20240328-115210.png

 

 

  • No labels