getSavedAlbumsRestAction

fun getSavedAlbumsRestAction(limit: Int? = api.spotifyApiOptions.defaultLimit, offset: Int? = null, market: Market? = null): SpotifyRestAction<PagingObject<SavedAlbum>>

Get a list of the albums saved in the current Spotify user’s ‘Your Music’ library.

Requires the SpotifyScope.USER_LIBRARY_READ scope

Api Reference

Return

Paging Object of SavedAlbum ordered by position in library

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

market

Provide this parameter if you want the list of returned items to be relevant to a particular country. If omitted, the returned items will be relevant to all countries.

Sources

common source
Link copied to clipboard