Description Usage Arguments Details Examples
View source: R/Authentication.R
Authorize using OAuth
1 2 3 4 5 | authorize(
key,
secret,
cache = T
)
|
key |
Your key obtained from Discogs |
secret |
Your secret obtained from Discogs |
cache |
(optional) Should the authorization be cached? |
This function uses the httr package to make OAuth 1.0 requests. To obtain a developers key and secret, visit Discogs developers
1 2 3 | my_key <- "abcde"
my_secret <- "secret"
token <- authorize(my_key, my_secret)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.