gargle_client: OAuth client for demonstration purposes

View source: R/gargle_oauth_client.R

gargle_clientR Documentation

OAuth client for demonstration purposes

Description

Invisibly returns an instance of gargle_oauth_client that can be used to test drive gargle before obtaining your own client ID and secret. This OAuth client may be deleted or rotated at any time. There are no guarantees about which APIs are enabled. DO NOT USE THIS IN A PACKAGE or for anything other than interactive, small-scale experimentation.

You can get your own OAuth client ID and secret, without these limitations. See the vignette("get-api-credentials") for more details.

Usage

gargle_client(type = NULL)

Arguments

type

Specifies the type of OAuth client. The valid values are a subset of possible Google client types and reflect the key used to describe the client in its JSON representation:

  • "installed" is associated with a "Desktop app"

  • "web" is associated with a "Web application"

Value

An OAuth client, produced by gargle_oauth_client(), invisibly.

Examples

## Not run: 
gargle_client()

## End(Not run)

gargle documentation built on July 26, 2023, 5:29 p.m.