JamendoR (version 0.1.1)

setUserLike: Like the track given by Track ID

Description

Like the track given by Track ID

Usage

setUserLike(token, track_id, client_id = Sys.getenv("JAMENDO_CLIENT_ID"))

Arguments

token

Your OAuth access token

track_id

Track ID of track you want to like

client_id

Defaults to System Environment variable "JAMENDO_CLIENT_ID" See https://developer.jamendo.com/v3.0/setuser/like for more information.

Examples

Run this code
# NOT RUN {
## Example
 app_name = ""
 if(app_name != "") {
  token <- jamendoOAuth(app_name=app_name)
  setUserLike(token, "114069")
 }
# }

Run the code above in your browser using DataLab