googlesheets (version 0.3.0)

gd_token: Retrieve and report on the current token

Description

Prints information about the Google token that is in force and returns the token invisibly.

Usage

gd_token(verbose = TRUE)

gs_token(verbose = TRUE)

Arguments

verbose

logical; do you want informative messages?

Value

an OAuth token object, specifically a Token2.0, invisibly

Examples

Run this code
# NOT RUN {
## load/refresh existing credentials, if available
## otherwise, go to browser for authentication and authorization
gs_auth()

gd_token()
# }

Run the code above in your browser using DataCamp Workspace