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. 29, 2018, 1:03 a.m.