[−][src]Function aspotify::endpoints::artists::get_artist_top
pub async fn get_artist_top<'_, '_>(
token: &'_ AccessToken,
id: &'_ str,
market: Market
) -> Result<Vec<Track>, EndpointError<Error>>
Get an artist's top tracks.
Unlike most other endpoints, the country code is required. The response contains up to 10 tracks which are the artist's top tracks.