Description Usage Arguments Value Examples
Authenticate and generate service account token
1 | getServiceAccountToken(service_token_creds_file)
|
service_token_creds_file |
Credentials file |
token A service account token
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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.