powered by
This function returns an artist's discography on Spotify
get_albums(artist_uri, access_token = get_spotify_access_token())
String identifier for an artist on Spotify. Can be found within the Spotify app or with spotifyr::get_artists()
Spotify Web API token. Defaults to spotifyr::get_spotify_access_token()
# NOT RUN { artists <- get_artists('radiohead') albums <- get_albums(artists$artist_uri[1]) # }
Run the code above in your browser using DataLab