Description Usage Arguments Value Examples
auth_gdrive
generates a token which is saved to tokens/gdrive_token
and used for accessing a google drive folder
1 2 | auth_gdrive(config_path = "config.json", token_path = "tokens/gdrive_token",
create_token = TRUE)
|
config_path |
path where the config.json file is located |
token_path |
path to the token file |
create_token |
whether a new token should be created (mandatory, if an existing token is not available in the dir tokens/) |
A google drive token in the (newly created?) tokens/gdrive_token
directory.
1 2 3 4 | ## Not run:
auth_gdrive("config.json", create_token=TRUE)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.