getPlaylistTracks: Get all tracks from a playlist

Description Usage Arguments Value Examples

View source: R/playlists.R

Description

Get all tracks from a playlist. You can search for either a playlist ID or a playlist name.

Usage

1
2
getPlaylistTracks(playlist_id = NULL, playlist_name = NULL,
  limit = 10, client_id = Sys.getenv("JAMENDO_CLIENT_ID"))

Arguments

playlist_id

Playlist ID to seach for

playlist_name

Playlist 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 all tracks from a playlist. See https://developer.jamendo.com/v3.0/playlists/tracks for more information.

Examples

1
2
3
##Example
 tracksFromID <- getPlaylistTracks(playlist_id="100268")
 tracksFromName <- getPlaylistTracks(playlist_name="Chillin")

JamendoR documentation built on May 2, 2019, 8:49 a.m.