getSpotifyTrackByID

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

version(TwitchSupport && WithTwitchPlugin)
getSpotifyTrackByID

Parameters

plugin TwitchPlugin

The current TwitchPlugin.

creds Credentials

Credentials aggregate.

trackID string

Spotify track ID string.

Return Value

Type: auto

A JSONValue of the response.

Throws

UnexpectedJSONException

on unexpected JSON.

ErrorJSONException

if the returned JSON has an "error" field.