R/artists.R
get_artist_top_tracks.RdGet Spotify catalog information about an artist’s top tracks by country.
get_artist_top_tracks(id, market = "US", authorization = get_spotify_access_token(), include_meta_info = FALSE)
| id | The Spotify ID for the artist. |
|---|---|
| market | Required. |
| authorization | Required. A valid access token from the Spotify Accounts service. See the Web API authorization guide for more details. Defaults to |
| include_meta_info | Optional. Boolean indicating whether to include full result, with meta information such as |
Returns a data frame of results containing artist data. See https://developer.spotify.com/documentation/web-api/reference/artists/get-several-artists/ for more information.