getRegions: getRegions

Description Usage Arguments Author(s) Examples

Description

Returns a list of application languages that the YouTube website supports.

Usage

1
getRegions(token, hl = NULL, verbose = FALSE)

Arguments

token

Your token as returned by youOAuth.

hl

Specifies the language that should be used for text values in the API response. The default value is en_US. Optional argument.

verbose

If TRUE prints infromational messages in the console. The default value is FALSE.

Author(s)

John Coene jcoenep@hotmail.com

Examples

1
2
3
4
5
6
7
8
9
## Not run: 
# Authenticate
token <- youOAuth(client.id = "something.apps.googleusercontent.com",
                  client.secret = "XxxXX1XxXxXxxx1xxx1xxXXX")

# fetch languages
regions <- getRegions(token)

## End(Not run)

JohnCoene/youTubeDataR documentation built on May 7, 2019, 11:59 a.m.