https://github.com/skibish/hubot-weather
Hubot script to show weather for some city
https://github.com/skibish/hubot-weather
coffeescript hubot hubot-script hubot-scripts weather
Last synced: about 1 year ago
JSON representation
Hubot script to show weather for some city
- Host: GitHub
- URL: https://github.com/skibish/hubot-weather
- Owner: skibish
- License: mit
- Created: 2014-09-29T06:40:20.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2017-06-04T16:37:52.000Z (about 9 years ago)
- Last Synced: 2025-04-15T02:38:58.302Z (about 1 year ago)
- Topics: coffeescript, hubot, hubot-script, hubot-scripts, weather
- Language: CoffeeScript
- Size: 5.86 KB
- Stars: 7
- Watchers: 2
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Hubot Weather
[]()
=========
Hubot script to show weather for some city.
# Installation
Add ```"hubot-weather":"*"``` in ```package.json``` file under dependencies.
Add ```"hubot-weather"``` in ```external-scripts.json``` file.
Run ```npm install``` command and you are ready to go!
Add environment variable `HUBOT_OWM_APIKEY` with API key to openweathermap [More info here](http://openweathermap.org/faq#error401).
Add optional environment variable `HUBOT_WEATHER_UNITS` with value 'imperial' or 'metric' to set display units. Default is metric.
#Example
```
hubot weather in Riga
```
Reply:
```
Forecast for today in Riga, LV
Condition: Clouds, broken clouds
Temperature (min / max): 12°C / 12°C
Humidity: 100%
Type: 1
Last updated: Sat Nov 5 2016 01:54:00 GMT+0000
```