Package: gargle 1.6.1.9000
gargle: Utilities for Working with Google APIs
Provides utilities for working with Google APIs <https://developers.google.com/apis-explorer>. This includes functions and classes for handling common credential types and for preparing, executing, and processing HTTP requests.
Authors:
gargle_1.6.1.9000.tar.gz
gargle_1.6.1.9000.zip(r-4.7)gargle_1.6.1.9000.zip(r-4.6)gargle_1.6.1.9000.zip(r-4.5)
gargle_1.6.1.9000.tgz(r-4.6-any)gargle_1.6.1.9000.tgz(r-4.5-any)
gargle_1.6.1.9000.tar.gz(r-4.7-any)gargle_1.6.1.9000.tar.gz(r-4.6-any)
gargle_1.6.1.9000.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
card.svg |card.png
gargle/json (API)
NEWS
| # Install 'gargle' in R: |
| install.packages('gargle', repos = c('https://r-lib.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/r-lib/gargle/issues
Pkgdown/docs site:https://gargle.r-lib.org
Last updated from:27b2c3ac73. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 150 | ||
| source / vignettes | OK | 224 | ||
| linux-release-x86_64 | OK | 171 | ||
| macos-release-arm64 | OK | 87 | ||
| macos-oldrel-arm64 | OK | 99 | ||
| windows-devel | OK | 117 | ||
| windows-release | OK | 110 | ||
| windows-oldrel | OK | 102 | ||
| wasm-release | OK | 120 |
Exports:AuthStatebulletizecheck_is_service_accountcred_funs_addcred_funs_clearcred_funs_listcred_funs_list_defaultcred_funs_setcred_funs_set_defaultcredentials_app_defaultcredentials_byo_oauth2credentials_external_accountcredentials_gcecredentials_service_accountcredentials_user_oauth2field_maskgargle_api_keygargle_appgargle_clientgargle_error_messagegargle_last_contentgargle_last_responsegargle_map_cligargle_oauth_cachegargle_oauth_clientgargle_oauth_client_from_jsongargle_oauth_client_typegargle_oauth_emailgargle_oauth_sitrepgargle_oob_defaultgargle_verbosityGargle2.0gargle2.0_tokengce_access_tokengce_instance_service_accountsGceTokeninit_AuthStatelocal_cred_funslocal_gargle_verbosityoauth_app_from_jsonoauth_external_tokenrequest_buildrequest_developrequest_makerequest_retryresponse_as_jsonresponse_processsecret_decrypt_jsonsecret_encrypt_jsonsecret_has_keysecret_make_keysecret_read_rdssecret_write_rdstidyverse_api_keytidyverse_apptidyverse_clienttoken_emailtoken_fetchtoken_tokeninfotoken_userinfoWifTokenwith_cred_funswith_gargle_verbosity
Dependencies:askpassclicurlfsgluehttrjsonlitelifecyclemimeopensslR6rappdirsrlangsyswithr
Auth when using R from the browser
Rendered fromauth-from-web.Rmdusingknitr::rmarkdownon May 28 2026.Last update: 2026-01-28
Started: 2019-08-16
How gargle gets tokens
Rendered fromhow-gargle-gets-tokens.Rmdusingknitr::rmarkdownon May 28 2026.Last update: 2026-01-28
Started: 2019-04-18
How to get your own API credentials
Rendered fromget-api-credentials.Rmdusingknitr::rmarkdownon May 28 2026.Last update: 2026-01-28
Started: 2019-06-11
How to use gargle for auth in a client package
Rendered fromgargle-auth-in-client-package.Rmdusingknitr::rmarkdownon May 28 2026.Last update: 2026-01-28
Started: 2019-01-30
Non-interactive auth
Rendered fromnon-interactive-auth.Rmdusingknitr::rmarkdownon May 28 2026.Last update: 2026-01-28
Started: 2019-07-01
Request helper functions
Rendered fromrequest-helper-functions.Rmdusingknitr::rmarkdownon May 28 2026.Last update: 2026-01-28
Started: 2019-02-25
Transition from OAuth app to OAuth client
Rendered fromoauth-client-not-app.Rmdusingknitr::rmarkdownon May 28 2026.Last update: 2026-01-28
Started: 2023-05-24
Troubleshooting gargle auth
Rendered fromtroubleshooting.Rmdusingknitr::rmarkdownon May 28 2026.Last update: 2026-01-28
Started: 2020-05-01
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Authorization state | AuthState AuthState-class |
| Credential function registry | cred_funs cred_funs_add cred_funs_clear cred_funs_list cred_funs_list_default cred_funs_set cred_funs_set_default local_cred_funs with_cred_funs |
| Load Application Default Credentials | credentials_app_default |
| Load a user-provided token | credentials_byo_oauth2 |
| Get a token for an external account | credentials_external_account |
| Get a token from the Google metadata server | credentials_gce |
| Load a service account token | credentials_service_account |
| Get an OAuth token for a user | credentials_user_oauth2 |
| Generate a field mask | field_mask |
| Create an OAuth client for Google | gargle_oauth_client gargle_oauth_client_from_json |
| OAuth token situation report | gargle_oauth_sitrep |
| Options consulted by gargle | gargle_oauth_cache gargle_oauth_client_type gargle_oauth_email gargle_oob_default gargle_options gargle_verbosity local_gargle_verbosity with_gargle_verbosity |
| Encrypt/decrypt JSON or an R object | gargle_secret secret_decrypt_json secret_encrypt_json secret_has_key secret_make_key secret_read_rds secret_write_rds |
| Generate a gargle token | gargle2.0_token |
| List all service accounts available on this GCE instance | gce_instance_service_accounts |
| Create an AuthState | init_AuthState |
| Build a Google API request | request_build request_develop |
| Make a Google API request | request_make |
| Make a Google API request, repeatedly | request_retry |
| Process a Google API response | gargle_error_message response_as_json response_process |
| Fetch a token for the given scopes | token_fetch |
| Get info from a token | token-info token_email token_tokeninfo token_userinfo |
