get_api {rtypeform}R Documentation

Retrieve API key from Renviron

Description

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

Usage

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,


[Package rtypeform version 2.1.0 Index]