getPlaylistTracks {JamendoR} | R Documentation |
Get all tracks from a playlist
Description
Get all tracks from a playlist. You can search for either a playlist ID or a playlist name.
Usage
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
##Example
tracksFromID <- getPlaylistTracks(playlist_id="100268")
tracksFromName <- getPlaylistTracks(playlist_name="Chillin")
[Package JamendoR version 0.1.1 Index]