ArtistsApis

class ArtistsApis(client: HttpClient = HttpClient(CIO) { install(ContentNegotiation) { json() } })

Artist domain API for Spotify Web API.

Covers artist profile retrieval, albums, top tracks, and related artists.

Constructors

Link copied to clipboard
constructor(client: HttpClient = HttpClient(CIO) { install(ContentNegotiation) { json() } })

Functions

Link copied to clipboard

Gets a Spotify artist by artist ID.

Link copied to clipboard
suspend fun getArtistsAlbums(id: String, includeGroups: List<IncludeGroup> = emptyList(), market: CountryCode? = null, pagingOptions: PagingOptions = PagingOptions()): SpotifyApiResponse<ArtistsAlbums>

Gets albums released by a Spotify artist.

Link copied to clipboard

Gets artists related to a Spotify artist.

Link copied to clipboard

Gets top tracks for a Spotify artist.

Link copied to clipboard

Gets multiple Spotify artists by their IDs.