getServiceAccountToken: Get service account token

Description Usage Arguments Value Examples

View source: R/getToken.R

Description

Authenticate and generate service account token

Usage

1
getServiceAccountToken(service_token_creds_file)

Arguments

service_token_creds_file

Credentials file

Value

token A service account token

Examples

1
2
3
4
5
## Not run: 
# Credentials with "content owner" role, with access to all the needed YT channels
token <- getServiceAccountToken("ServiceAccount-e8a41d405bf8.json")

## End(Not run)

EricGoldsmith/rYouTube documentation built on Dec. 17, 2021, 7:21 p.m.