get Client Playlists
suspend fun getClientPlaylists(limit: Int? = api.spotifyApiOptions.defaultLimit, offset: Int? = null): PagingObject<SimplePlaylist>
Content copied to clipboard
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.
Parameters
limit
The number of objects to return. Default: 50 (or api limit). Minimum: 1. Maximum: 50.
offset
The index of the first item to return. Default: 0. Use with limit to get the next set of items
Throws
if the filters provided are illegal
Sources
(source)
Link copied to clipboard