R/artists.R
get_artist_albums.Rd
Get Spotify catalog information for multiple artists identified by their Spotify IDs.
get_artist_albums(id, include_groups = c("album", "single", "appears_on", "compilation"), market = NULL, limit = 20, offset = 0, authorization = get_spotify_access_token(), include_meta_info = FALSE)
id | The Spotify ID for the artist. |
---|---|
include_groups | Optional. A character vector of keywords that will be used to filter the response. If not supplied, all album types will be returned. Valid values are: |
market | Optional. |
limit | Optional. |
offset | Optional. |
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.