news_sources: News Sources

Description Usage Arguments Examples

View source: R/calls.R

Description

Get the list of available sources.

Usage

1

Arguments

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: business, entertainment, general, health, science, sports, technology. Note: you can't mix this argument with the sources argument.

language

Find sources that display news in a specific language. Possible options: ar, de, en, es, fr, he, it, nl, no, pt, ru, se, ud, zh. Default: all languages.

Examples

1
2
3
4
## Not run: 
 news_sources()

## End(Not run)

news-r/newsapi documentation built on Feb. 27, 2020, 2:38 p.m.