getAlbums {Rspotify}R Documentation

Get albums from an Artist

Description

function to get albums from an artist using their ID

Usage

getAlbums(artist_id, market = "US", token)

Arguments

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 spotifyOAuth.

Value

'Get Albums from an Artist

Examples

## Not run: 



foofighters_albums<-getAlbums("7jy3rLJdDQY21OgRLCZ9sD",market="US",token)


## End(Not run)


[Package Rspotify version 0.1.2 Index]