spotifyr (version 2.1.1)

get_album_data: 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_album_data(
  artist,
  albums = character(),
  authorization = get_spotify_access_token()
)

Arguments

artist

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

albums

A character vector of album names. Spelling matters, capitalization does not

authorization

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

Examples

Run this code
# NOT RUN {
get_album_data("Wild child", "Expectations")
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab