Retrieves air quality scores for locations in the United States.
In your hubot repository, run:
npm install hubot-airnow-gov --save
Then add hubot-airnow-gov to your external-scripts.json
:
["hubot-airnow-gov"]
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 |
user1> hubot aqi 37206
hubot> Nashville, TN - O3: 46 (Good); PM2.5: 43 (Good)