Description Usage Arguments Examples
Returns top headlines.
1 2 |
q |
Keywords or a phrase to search for. |
results |
Number of results to return, on free plan this is often |
country |
The 2-letter ISO 3166-1 code of the country you want to get headlines for. |
category |
The category you want to get headlines for.
Possible options: |
sources |
A |
1 2 3 4 | ## Not run:
top_headlines("Trump")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.