EVOLUTION-MANAGER
Edit File: get_spotify_authorization_code.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>R: Get Spotify Authorization Code</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <link rel="stylesheet" type="text/css" href="R.css" /> </head><body> <table width="100%" summary="page for get_spotify_authorization_code {spotifyr}"><tr><td>get_spotify_authorization_code {spotifyr}</td><td style="text-align: right;">R Documentation</td></tr></table> <h2>Get Spotify Authorization Code</h2> <h3>Description</h3> <p>This function creates a Spotify authorization code. See <code>httr::<a href="../../httr/html/oauth2.0_token.html">oauth2.0_token</a></code>. </p> <h3>Usage</h3> <pre> get_spotify_authorization_code( client_id = Sys.getenv("SPOTIFY_CLIENT_ID"), client_secret = Sys.getenv("SPOTIFY_CLIENT_SECRET"), scope = scopes() ) </pre> <h3>Arguments</h3> <table summary="R argblock"> <tr valign="top"><td><code>client_id</code></td> <td> <p>Defaults to System Envioronment variable "SPOTIFY_CLIENT_ID"</p> </td></tr> <tr valign="top"><td><code>client_secret</code></td> <td> <p>Defaults to System Envioronment variable "SPOTIFY_CLIENT_SECRET"</p> </td></tr> <tr valign="top"><td><code>scope</code></td> <td> <p>Space delimited string of spotify scopes, found here: https://developer.spotify.com/documentation/general/guides/scopes/. All scopes are selected by default</p> </td></tr> </table> <h3>Value</h3> <p>The Spotify Web API Token2.0 reference class object (see <code>httr::<a href="../../httr/html/oauth2.0_token.html">oauth2.0_token</a></code>), or an error message. </p> <h3>See Also</h3> <p>Other authentication functions: <code><a href="get_spotify_access_token.html">get_spotify_access_token</a>()</code> </p> <h3>Examples</h3> <pre> authorization <- get_spotify_authorization_code() </pre> <hr /><div style="text-align: center;">[Package <em>spotifyr</em> version 2.2.3 <a href="00Index.html">Index</a>]</div> </body></html>