Client Library Api
Endpoints for retrieving information about, and managing, tracks and albums that the current user has saved in their “Your Music” library.
Constructors
ClientLibraryApi
Link copied to clipboard
Functions
add
Link copied to clipboard
contains
Link copied to clipboard
suspend fun contains(type: LibraryType, vararg ids: String): List<Boolean>
Content copied to clipboard
Check if one or more of LibraryType is already saved in the current Spotify user’s ‘Your Music’ library.
Check if the LibraryType with id id is already saved in the current Spotify user’s ‘Your Music’ library.
getSavedAlbums
Link copied to clipboard
suspend fun getSavedAlbums(limit: Int? = api.spotifyApiOptions.defaultLimit, offset: Int? = null, market: Market? = null): PagingObject<SavedAlbum>
Content copied to clipboard
getSavedTracks
Link copied to clipboard
suspend fun getSavedTracks(limit: Int? = api.spotifyApiOptions.defaultLimit, offset: Int? = null, market: Market? = null): PagingObject<SavedTrack>
Content copied to clipboard
remove
Link copied to clipboard
Remove one or more of the LibraryType (tracks or albums) from the current user’s ‘Your Music’ library.
Properties
Sources
(source)
Link copied to clipboard