getSpotifyTrackByID

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

version(TwitchSupport && WithTwitchPlugin)
package
getSpotifyTrackByID
(,
const string trackID
)

Parameters

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.

Meta