authorize {metricminer}R Documentation

Authorize R package to access endpoints

Description

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

Usage

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

Arguments

app_name

app would you like to authorize? Supported apps are 'google' 'calendly' and 'github'

cache

Should the token be cached as an .httr-oauth file or API keys stored as global options?

...

additional arguments to send to oauth2.0_token

Value

API token saved to the environment or the cache so it can be grabbed by functions

Examples

## Not run: 

authorize()

authorize("github")

authorize("google")

authorize("calendly")

## End(Not run)

[Package metricminer version 0.5.1 Index]