get_api: Retrieve API key from Renviron

Description Usage Arguments Details

View source: R/get_api.R

Description

If the entry typeform_api2 exists in your .Renviron return that value. Otherwise, raise an error.

Usage

1
get_api(api = NULL)

Arguments

api

Default NULL. Your private api key. If api is NULL, the environment variable Sys.getenv("typeform_api2") is used.

Details

In version 1 of the typeform API, rtypeform looked for the key typeform_api,


rtypeform documentation built on Aug. 31, 2020, 5:09 p.m.