Learn R Programming

rgoogleclassroom (version 1.0.0)

authorize: Authorize R package to access Google classroom API

Description

This is a function to authorize the R package to access the Googleclassroom API interactively.

Usage

authorize(token = NULL, cache = FALSE, ...)

Value

OAuth token saved to the environment so the package can use the users' Google data

Arguments

token

an output from oauth2.0_token to set as the authentication token.

cache

Should the token be cached as an .httr-oauth file?

...

additional arguments to send to oauth2.0_token

Examples

Run this code
if (FALSE) {

authorize()
}

Run the code above in your browser using DataLab