drive_api_key: Retrieve API key

Description Usage Value Examples

Description

Retrieves the pre-configured API key. Learn more in Google's document Credentials, access, security, and identity. By default, this API key is initialized to one that ships with googledrive. But the user can store their own key via drive_auth_config(), i.e. overwrite the default.

Usage

1

Value

A Google API key.

Examples

1
2
3
4
5
6
7
drive_api_key()

## Not run: 
drive_auth_config(api_key = "123")
drive_api_key()

## End(Not run)

Example output

[1] "AIzaSyCJ-oYJlNhbPDJySWsbR_B7QqzNz5EthTg"
googledrive auth state: active
oauth app: tidyverse
API key: set
token: not loaded[1] "123"

googledrive documentation built on May 2, 2019, 1:26 p.m.