getPlaylist

suspend fun getPlaylist(playlist: String, market: Market? = null): Playlist?(source)

Get a playlist owned by a Spotify user.

Note that both Public and Private playlists belonging to any user are retrievable on provision of a valid access token.

Api Reference

Parameters

playlist

The id or uri for the playlist.

market

Provide this parameter if you want to apply Track Relinking

Throws

if the playlist is not found