Client Personalization Api
Endpoints for retrieving information about the user’s listening habits.
Functions
Link copied to clipboard
suspend fun getTopArtists(limit: Int? = api.spotifyApiOptions.defaultLimit, offset: Int? = null, timeRange: ClientPersonalizationApi.TimeRange? = null): PagingObject<Artist>
Get the current user’s top artists based on calculated affinity.
Link copied to clipboard
suspend fun getTopTracks(limit: Int? = api.spotifyApiOptions.defaultLimit, offset: Int? = null, timeRange: ClientPersonalizationApi.TimeRange? = null): PagingObject<Track>
Get the current user’s top tracks based on calculated affinity.