World News API integration (Data, Social). Imported from open-connector.
https://api.worldnewsapi.com/search-news
| Param | Type | Required | Description |
|---|---|---|---|
| text | string | optional | Keywords or phrases used to search matching articles. |
| language | string | optional | The language code used to filter matching articles. |
| sourceCountries | string | optional | A comma-separated list of source country codes used to filter matching articles. |
| categories | string | optional | A comma-separated list of categories used to filter matching articles. |
| earliestPublishDate | string | optional | The earliest publish date or timestamp accepted by World News API. |
| latestPublishDate | string | optional | The latest publish date or timestamp accepted by World News API. |
| newsSources | string | optional | A comma-separated list of source URLs used to filter matching articles. |
| authors | string | optional | A comma-separated list of author names used to filter matching articles. |
| locationFilter | string | optional | A latitude,longitude,radius filter used to constrain matching articles by locat… |
| entities | string | optional | A comma-separated list of entity filters accepted by World News API. |
| sort | string | optional | The sorting mode used for the article search request. |
| sortDirection | string | optional | The sort direction used for the article search request. |
| minSentiment | number | optional | The minimum sentiment score accepted for matching articles. |
| maxSentiment | number | optional | The maximum sentiment score accepted for matching articles. |
| offset | integer | optional | The zero-based result offset for pagination. |
| number | integer | optional | The maximum number of articles to return. |
/top-news
| Param | Type | Required | Description |
|---|---|---|---|
| sourceCountry | string | required | The source country code used to retrieve top news. |
| language | string | optional | The language code used to retrieve top news. |
| date | string | optional | The calendar date used to retrieve top news in YYYY-MM-DD format. |
/retrieve-news
| Param | Type | Required | Description |
|---|---|---|---|
| ids | array | required | The article identifiers to retrieve. |
/search-news-sources
| Param | Type | Required | Description |
|---|---|---|---|
| name | string | optional | The source name used to search matching news sources. |
| language | string | optional | The language code used to filter matching news sources. |
| sourceCountry | string | optional | The source country code used to filter matching news sources. |
/geo-coordinates
| Param | Type | Required | Description |
|---|---|---|---|
| location | string | required | The location text to geocode. |
| language | string | optional | The language code used to localize the geocoding response. |