public getTrack ( string $trackId, array | object $options = [] ) : array | object | ||
$trackId | string | ID of the track. |
$options | array | object | Optional. Options for the track. - string market Optional. An ISO 3166-1 alpha-2 country code, provide this if you wish to apply Track Relinking. |
Результат | array | object | The requested track. Type is controlled by SpotifyWebAPI::setReturnAssoc(). |