...
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.
...
Step 4: use the above mentioned section to get 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 NewsApi
...
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.
...
Expand | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||
|