getAlbums {Rspotify} | R Documentation |
function to get albums from an artist using their ID
getAlbums(artist_id, market = "US", token)
artist_id |
The Spotify ID for the artist. |
market |
Optional. An ISO 3166-1 alpha-2 country code. Supply this parameter to limit the response to one particular geographical market. For example, for albums available in Sweden: market=SE. |
token |
An OAuth token created with |
'Get Albums from an Artist
## Not run: foofighters_albums<-getAlbums("7jy3rLJdDQY21OgRLCZ9sD",market="US",token) ## End(Not run)