getArtistTopTracks

abstract suspend fun getArtistTopTracks(id: String, market: String? = null): SpotifyApiResponse<ArtistTopTracks, ErrorBody>(source)

Get artist top tracks API returns the top tracks of the artist.

See the Spotify doc.

Return

ArtistTopTracks when success and ErrorBody when error.

Parameters

id
market