Description Usage Arguments Value Examples
This function creates a Spotify access token.
1 2 3 4 | get_spotify_access_token(
client_id = Sys.getenv("SPOTIFY_CLIENT_ID"),
client_secret = Sys.getenv("SPOTIFY_CLIENT_SECRET")
)
|
client_id |
Defaults to System Environment variable "SPOTIFY_CLIENT_ID" |
client_secret |
Defaults to System Environment variable "SPOTIFY_CLIENT_SECRET" |
Returns an environment with access token data.
1 2 3 4 | ## Not run:
get_spotify_access_token()
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.