oauth_app_from_json
From gargle v0.1.3
by Jennifer Bryan
Create an OAuth app from JSON
Essentially a wrapper around httr::oauth_app()
that extracts client id (aka
key) and secret from JSON downloaded from Google Developers Console. If no appname
is given,
the "project_id"
from the JSON is used.
Usage
oauth_app_from_json(path, appname = NULL)
Arguments
- path
Path to the JSON file.
- appname
name of the application. This is not used for OAuth, but is used to make it easier to identify different applications.
Examples
# NOT RUN {
oauth_app(
path = "/path/to/the/JSON/you/downloaded/from/google/dev/console.json"
)
# }
Community examples
Looks like there are no examples yet.