Description Usage Arguments Value Examples
function to get albums from an artist using their ID
1 | 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
1 2 3 4 5 6 7 8 | ## Not run:
foofighters_albums<-getAlbums("7jy3rLJdDQY21OgRLCZ9sD",market="US",token)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.