kameloso.plugins.twitch.spotify

Bits and bobs to get Spotify API credentials for playlist management.

Members

Functions

addTrackToSpotifyPlaylist
JSONValue addTrackToSpotifyPlaylist(TwitchPlugin plugin, Credentials creds, string trackID, Flag!"recursing" recursing)

Adds a track to the Spotify playlist whose ID is stored in the passed Credentials.

getSpotifyTrackByID
auto getSpotifyTrackByID(Credentials creds, string trackID)

Fetches information about a Spotify track by its ID and returns the JSON response.

requestSpotifyKeys
void requestSpotifyKeys(TwitchPlugin plugin)

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

See Also

Meta