spotifyr (version 2.1.1)

get_discography: Retrieve artist discography with song lyrics and audio info

Description

Retrieve the entire discography of an artist with the lyrics of each song and the associated audio information. Returns the song data as a nested tibble. This way we can easily see each album, artist, and song title before expanding our data.

Usage

get_discography(artist, authorization = get_spotify_access_token())

Arguments

artist

The quoted name of the artist. Spelling matters, capitalization does not.

authorization

Authorization token for Spotify web API. Defaults to get_spotify_access_token()

Examples

Run this code
# NOT RUN {
rex_orange <- get_discography("Rex Orange County")
unnest(rex_orange, data)
# }

Run the code above in your browser using DataLab