getArtistTracks {JamendoR}R Documentation

Get tracks from an artist

Description

Search Jamendo database for an artist. You can search for either an artist ID or an artist name.

Usage

getArtistTracks(
  artist_id = NULL,
  artist_name = NULL,
  limit = 10,
  client_id = Sys.getenv("JAMENDO_CLIENT_ID")
)

Arguments

artist_id

Artist ID to seach for

artist_name

Artist name to seach for

limit

Integer to set the number of displayed search results. Maximum value is 200.

client_id

Defaults to System Environment variable "JAMENDO_CLIENT_ID"

Value

Returns a data frame which contains information about tracks from an artist. See https://developer.jamendo.com/v3.0/artists/tracks for more information.

Examples


##Example
 tracksFromID <- getArtistTracks(artist_id="1510",limit=3)
 tracksFromName <- getArtistTracks(artist_name="Judas Priestley",limit=3)


[Package JamendoR version 0.1.1 Index]