getClientPlaylistsRestAction

fun getClientPlaylistsRestAction(limit: Int? = api.spotifyApiOptions.defaultLimit, offset: Int? = null): SpotifyRestAction<PagingObject<SimplePlaylist>>

Get a list of the playlists owned or followed by a Spotify user.

Private playlists are only retrievable for the current user and requires the SpotifyScope.PLAYLIST_READ_PRIVATE scope to have been authorized by the user. Note that this scope alone will not return collaborative playlists, even though they are always private. Collaborative playlists are only retrievable for the current user and requires the SpotifyScope.PLAYLIST_READ_COLLABORATIVE scope to have been authorized by the user.

Api Reference

Parameters

limit

The number of objects to return. Default: 50 (or api limit). Minimum: 1. Maximum: 50.

offset

The index of the first playable to return. Default: 0. Use with limit to get the next set of playables

Throws

Sources

common source
Link copied to clipboard