Description Usage Arguments Value Examples
This endpoint suits article discovery and analysis, but can be used to retrieve articles for display, too.
1 2 | get_everything(q, sources, domains, language, from, to, sort_by,
apiKey = newsapi_key(), endpoint = "everything")
|
q |
Keywords to search for. |
sources |
A comma-seperated string of identifiers for the news sources or blogs you want headlines from. Use newsapi.org sources index. |
domains |
A comma-seperated string of domains (eg bbc.co.uk, techcrunch.com, engadget.com) to restrict the search to. |
language |
The 2-letter ISO-639-1 code of the language you want to get headlines for. |
from |
A date and optional time for the oldest article allowed. This should be in ISO 8601 format |
to |
A date and optional time for the newest article allowed |
sort_by |
The order to sort the articles in. Possible options: relevancy, popularity, publishedAt |
apiKey |
String apiKey |
endpoint |
String of endpoints |
dataframe
1 | ## Not run: get_everything(category = 'general',country = 'de')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.