Retrieves the latest forecast from the Pollen.com API.
In hubot project repo, run:
npm install hubot-pollen --save
Then add hubot-pollen to your external-scripts.json
:
[
"hubot-pollen"
]
Set the target location by provide a zip code. Defaults to Nashville, TN for demonstration purposes.
Environment Variable | Required? | Description |
---|---|---|
HUBOT_POLLEN_ZIP |
No | The default zip code to query |
user1>> hubot pollen
hubot>> Nashville, TN Pollen: 8.2 (Medium-High) - Alder, Juniper, Maple