public createUserPlaylist ( string $userId, array | object $options ) : array | object | ||
$userId | string | ID of the user to create the playlist for. |
$options | array | object | Options for the new playlist. - name string Required. Name of the playlist. - public bool Optional. Whether the playlist should be public or not. |
Результат | array | object | The new playlist. Type is controlled by SpotifyWebAPI::setReturnAssoc(). |