Skip to content

kkpoon/hubot-weather-underground

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hubot-weather-underground

a hubot weather reporter

See src/weather.coffee for full documentation.

Installation

In hubot project repo, run:

npm install hubot-weather-underground --save

Then add hubot-weather-underground to your external-scripts.json:

["hubot-weather-underground"]

Set the environment variable

HUBOT_WEATHER_WUNDERGROUND_KEY=YOUR_WUNDERGROUND_KEY

Temperature format

If you want to use fahrenheit instead of celsius use the following environment variable

HUBOT_WEATHER_UNDERGROUND_FORMAT=F

Sample Interaction

user1>> hubot weather of Hong Kong
hubot>> The current weather condition of Hong Kong is Light Rain Showers:
At Fri, 29 Jan 2016 09:13:02 +0800, Temperature is 16.4°C (feels like 16.4°C), Humidity: 94%, Pressure: 1018hPa, Wind: Calm, UV: 1.0
user1>> hubot what is Sha Tin exactly called?
hubot>> Here are the possibilities:
Sha Tin, China
Sha Tin Racecourse, China
Sha Tin Sports Ground, China
Sha Tin Tau, Hong Kong
Sha Tin Wai, Hong Kong
Sha Tin, Hong Kong

About

a hubot weather reporter

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published