hubot-pollen
Version:
Retrieves the latest from the Pollen.com API
39 lines (24 loc) • 1.05 kB
Markdown
# hubot-pollen
Retrieves the latest forecast from the Pollen.com API.
[](http://badge.fury.io/js/hubot-pollen) [](https://github.com/stephenyeargin/hubot-pollen/actions/workflows/nodejs.yml)
## Installation
In hubot project repo, run:
`npm install hubot-pollen --save`
Then add **hubot-pollen** to your `external-scripts.json`:
```json
[
"hubot-pollen"
]
```
## Configuration
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 |
## Sample Interaction
```
user1>> hubot pollen
hubot>> Nashville, TN Pollen: 8.2 (Medium-High) - Alder, Juniper, Maple
```
## NPM Module
https://www.npmjs.com/package/hubot-pollen