get Saved Tracks Rest Action
fun getSavedTracksRestAction(limit: Int? = api.spotifyApiOptions.defaultLimit, offset: Int? = null, market: Market? = null): SpotifyRestAction<PagingObject<SavedTrack>>
Content copied to clipboard
Get a list of the songs saved in the current Spotify user’s ‘Your Music’ library.
Requires the SpotifyScope.USER_LIBRARY_READ scope
Return
PagingObject of SavedTrack 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