getArtistAlbums: Get albums from an artist

Description Usage Arguments Value Examples

View source: R/artists.R

Description

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

Usage

1
2
3
4
5
6
getArtistAlbums(
  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 albums from an artist. See https://developer.jamendo.com/v3.0/artists/albums for more information.

Examples

1
2
3
##Example
 albumsFromID <- getArtistAlbums(artist_id="1510",limit=3)
 albumsFromName <- getArtistAlbums(artist_name="Judas Priestley",limit=3)

JamendoR documentation built on Nov. 7, 2021, 5:08 p.m.