Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

hubot-airnow-gov

stephenyeargin140MIT1.2.2

Retrieve air quality scores for locations in the United States.

hubot, hubot-scripts, airnow.gov, air quality, aqi

readme

AirNow.gov for Hubot

npm version Node CI

Retrieves air quality scores for locations in the United States.

Installation

In your hubot repository, run:

npm install hubot-airnow-gov --save

Then add hubot-airnow-gov to your external-scripts.json:

["hubot-airnow-gov"]

Configuration

Environment Variables Required? Description
HUBOT_AIRNOW_API_KEY Yes API key from the https://docs.airnowapi.org
HUBOT_AIRNOW_DEFAULT_ZIP Yes Default ZIP code to use when using hubot aqi

Usage

user1> hubot aqi 37206
hubot> Nashville, TN - O3: 46 (Good); PM2.5: 43 (Good)