public getUserPlaylist ( string $userId, string $playlistId, array | object $options = [] ) : array | object | ||
$userId | string | ID of the user. |
$playlistId | string | ID of the playlist. |
$options | array | object | Optional. Options for the playlist. - string|array fields Optional. A list of fields to return. See Spotify docs for more info. - string market Optional. An ISO 3166-1 alpha-2 country code, provide this if you wish to apply Track Relinking. |
Результат | array | object | The user's playlist. Type is controlled by SpotifyWebAPI::setReturnAssoc(). |