AlbumApi

class AlbumApi(api: GenericSpotifyApi) : SpotifyEndpoint

Endpoints for retrieving information about one or more albums from the Spotify catalog.

Api Reference

Constructors

AlbumApi
Link copied to clipboard
common
fun AlbumApi(api: GenericSpotifyApi)

Functions

equals
Link copied to clipboard
common
open operator fun equals(other: Any?): Boolean
getAlbum
Link copied to clipboard
common
suspend fun getAlbum(album: String, market: Market? = null): Album?
Get Spotify catalog information for a single album.
getAlbums
Link copied to clipboard
common
suspend fun getAlbums(vararg albums: String, market: Market? = null): List<Album?>
Get Spotify catalog information for multiple albums identified by their Spotify IDs.
getAlbumTracks
Link copied to clipboard
common
suspend fun getAlbumTracks(album: String, limit: Int? = api.spotifyApiOptions.defaultLimit, offset: Int? = null, market: Market? = null): PagingObject<SimpleTrack>
Get Spotify catalog information about an album’s tracks.
hashCode
Link copied to clipboard
common
open fun hashCode(): Int
toString
Link copied to clipboard
common
open fun toString(): String

Properties

api
Link copied to clipboard
common
val api: GenericSpotifyApi
cache
Link copied to clipboard
common
val cache: SpotifyCache

Sources

(source)
Link copied to clipboard