powered by
This function returns the Spotify's access token.
get_spotify_access_token(client_id = Sys.getenv("client_id"), client_secret = Sys.getenv("client_secret"))
String with the Spotify CLIENT_ID.
String with the Spotify CLIENT_SECRET.
Returns a string with de access token.
# NOT RUN { access_token<-get_spotify_access_token(client_id = 'client_id', client_secret = 'client_secret') # }
Run the code above in your browser using DataLab