Skip to content

Latest commit

 

History

History
35 lines (23 loc) · 843 Bytes

README.md

File metadata and controls

35 lines (23 loc) · 843 Bytes

Hubot Weather npm

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.

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