get Users Top Items
suspend fun getUsersTopItems(type: TopItemType, timeRange: TimeRange? = null, limit: Int? = null, offset: Int? = null): SpotifyApiResponse<UsersTopItems>
Deprecated
Spotify marks GET /v1/me/top/{type} as deprecated.
Gets the current user's top artists or tracks.
Return
Wrapped Spotify API response with status code and parsed Spotify payload.
Parameters
type
Spotify API type parameter required by the endpoint.
time Range
Spotify ranking window (short_term, medium_term, long_term) for top items.
limit
Maximum number of items to return in one page.
offset
Index of the first item to return for paging.