pub async fn get_users_top_items(
client: &SpotifyApi,
item_type: &str,
time_range: Option<&str>,
limit: Option<u8>,
offset: Option<u32>,
) -> Result<Option<Value>, HttpError>Expand description
Get the current user’s top artists or tracks item_type: “artists” or “tracks” time_range: “short_term” (4 weeks), “medium_term” (6 months), “long_term” (years)