If the entry typeform_api2 exists in your
.Renviron return that value. Otherwise, raise an error.
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,