Version: v1.0.0
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:
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.
Step 2: Select Connection from the dropdown
Step 3: Configure the connection object and click Save button.
Step 4: Verify the connection details in the section and click on Next button.
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.