A credential object containing an api key $auth and social media type descriptor
$socialmedia set to "youtube". Object has the class names "credential" and "youtube".
Arguments
socialmedia
Character string. Identifier for social media API to authenticate, set to "youtube".
apiKey
Character string. Google developer API key to authenticate.
...
Additional parameters passed to function. Not used in this method.
verbose
Logical. Output additional information. Default is TRUE.
if (FALSE) {
# youtube authentication with google developer api keymyAPIKey <- "xxxxxxxxxxxx"youtubeAuth <- Authenticate("youtube", apiKey = myAPIKey)
}