Learn R Programming

Rspotify (version 0.1.2)

getAlbums: 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

Run this code
# NOT RUN {


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

# }
# NOT RUN {
# }

Run the code above in your browser using DataLab