set_api_key: Set the API key value.

View source: R/api.R

set_api_keyR Documentation

Set the API key value.

Description

A helper function to set the OPENAQ_API_KEY environment variable.

Usage

set_api_key(api_key)

Arguments

api_key

A character string value for the API key to set.

Value

No return value, called for side effects.

Examples

set_api_key("my-super-secret-openaq-api-key-1234")


openaq documentation built on March 19, 2026, 5:08 p.m.