If token is not already available, call gs_auth
to either load
from cache or initiate OAuth2.0 flow. Return the token – not "bare" but,
rather, prepared for inclusion in downstream requests. Use
access_token()
to reveal the actual access token, suitable for use
with curl
.
1 2 3 4 5 | google_token(verbose = FALSE)
include_token_if(cond)
omit_token_if(cond)
|
a request
object (an S3 class provided by httr
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.