get_news
returns news items and URLs from news providers that can be
found with get_news_providers
.
get_news(feeds, ts = Sys.time(), lang = "EN", sign = FALSE, app_name = NULL)
feeds | character. One or more news providers to query. News providers
can be found with |
---|---|
ts | character or POSIXct or POSIXt. Timestamp to pull news for. Defaults
to |
lang | character. Code for the language to return results in. Defaults to 'EN' for English. |
sign | logical. Should the server sign the response? Defaults to FALSE. |
app_name | character. Name of app to be passed in API request. Defaults to NULL. |
A tibble containing news items and URLs from selected providers for the specified time stamp.
https://min-api.cryptocompare.com
# NOT RUN { get_news(c("cryptocompare", "cnn")) # }