get_spotify_access_token: Get Spotify Access Token.

Description Usage Arguments Value Author(s) Examples

View source: R/get_spotify_access_token.R

Description

This function returns the Spotify's access token.

Usage

1
2
get_spotify_access_token(client_id = Sys.getenv("client_id"),
  client_secret = Sys.getenv("client_secret"))

Arguments

client_id

String with the Spotify CLIENT_ID.

client_secret

String with the Spotify CLIENT_SECRET.

Value

Returns a string with de access token.

Author(s)

Alberto Almui?a

Examples

1
2
3
4
## Not run: 
access_token<-get_spotify_access_token(client_id = 'client_id', client_secret = 'client_secret')

## End(Not run)

DSpoty documentation built on March 26, 2020, 7:13 p.m.