Skip to content

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

if (FALSE) {
gargle_client()
}