setUserFan: Become a fan of an artist

View source: R/usersProfile.R

setUserFanR Documentation

Become a fan of an artist

Description

Become a fan of an artist

Usage

setUserFan(token, artist_id, client_id = Sys.getenv("JAMENDO_CLIENT_ID"))

Arguments

token

Your OAuth access token

artist_id

Artist ID of artist you want to become a fan of

client_id

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

Examples


## Example
 app_name = ""
 if(app_name != "") {
  token <- jamendoOAuth(app_name=app_name)
  setUserFan(token, "1510")
 }


MaxGreil/JamendoR documentation built on Jan. 17, 2024, 2:16 a.m.