get_sources: Get news based on sources category, language and country

Description Usage Arguments Value Examples

View source: R/get_sources.R

Description

Get news based on sources category, language and country

Usage

1
2
get_sources(category, language, country, apiKey = newsapi_key(),
  endpoint = "sources")

Arguments

category

String category

language

String language

country

String country

apiKey

String apiKey

endpoint

String of endpoints

Value

dataframe

Examples

1
## Not run: get_sources(category = 'general',language = 'en')

data-atelier/newsExtractoR documentation built on April 6, 2018, 2:54 a.m.