kameloso.plugins.twitch.providers.google

Bits and bobs to get Google API credentials and for YouTube playlist management.

Members

Functions

addVideoToYouTubePlaylist
auto addVideoToYouTubePlaylist(TwitchPlugin plugin, Credentials creds, string videoID, bool recursing)

Adds a video to the YouTube playlist whose ID is stored in the passed Credentials.

getGoogleTokens
void getGoogleTokens(Credentials creds, string code, string caBundleFile)

Request OAuth API tokens from Google.

refreshGoogleToken
void refreshGoogleToken(TwitchPlugin plugin, Credentials creds)

Refreshes the OAuth API token in the passed Google credentials.

requestGoogleKeys
void requestGoogleKeys(TwitchPlugin plugin)

Requests a Google API authorisation code from Google servers, then uses it to obtain an access key and a refresh OAuth key.

validateGoogleToken
auto validateGoogleToken(Credentials creds, string caBundleFile)

Validates a Google OAuth token, returning the JSON received from the server.

See Also

Meta