setUserFavorite: Add a given track to your preferites

Description Usage Arguments Examples

View source: R/usersProfile.R

Description

Add a given track to your preferites

Usage

1
2
setUserFavorite(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 favourite

client_id

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

Examples

1
2
3
## Example
 token <- jamendoOAuth(app_name="xxxx")
 setUserFavorite(token)

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