Description Usage Arguments Details Value Examples
If token is not already available in the current session, this function will stop execution. An active token for the current session must be requested before any other task.
1 | datarte_token(verbose = FALSE)
|
verbose |
Set to |
Use get_current_token()
to check for valid token.
a request
object (an S3 class provided by httr
). It is the token prepared for
use with httr configuration system. see httr::config()
.
1 2 3 4 5 6 | ## Not run:
# use in httr fonction like GET for authentification as config for httr
datarte_auth(client_id, client_secret)
httr::GET("https://httpbin.org/get", datarte_token())
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.