Skip to contents

Authenticates with Spotify and gets user authorization. You'll need to create a Spotify App first at https://developer.spotify.com/dashboard

Usage

spotify_auth(client_id = NULL, client_secret = NULL)

Arguments

client_id

Your Spotify Client ID

client_secret

Your Spotify Client Secret

Value

Access token (saved to environment)

Examples

if (FALSE) { # \dontrun{
spotify_auth(
  client_id = "your_client_id",
  client_secret = "your_client_secret"
)
} # }