AlbumApi

internal interface AlbumApi(source)

Album API interface provides methods using which one can get all the information about an album.

Each API returns ApiResponse

Inheritors

Functions

Link copied to clipboard
abstract suspend fun getAlbum(id: String, market: String?): ApiResponse<AlbumInfo, ErrorBody>

Get album API returns the information about an album.

Link copied to clipboard
abstract suspend fun getAlbumTracks(id: String, market: String?, limit: Int, offset: Int): ApiResponse<GetAlbumTracksResponse, ErrorBody>

Get album tracks API returns all the tracks in an album.

Link copied to clipboard

Get new album releases API returns all the albums that have newly released.