Skip to contents

Managing AirNow API tokens

An API token allows you to interact with the AirNow API. Tokens can be created at airnowapi.org.

get_airnow_token() set_airnow_token()
Manage AirNow API Tokens

Retrieving air quality data

Retrieve forecasts and current/historical air quality data

get_airnow_conditions()
Get current air quality conditions
get_airnow_area()
Get air quality data for a given region
get_airnow_forecast()
Get air quality forecast

AQI values

Convert AQI values to color or text representations

aqi_color() aqi_descriptor()
Label AQI Values