robut-weather

A Weather Underground based weather module for robut

Gem Version

Installation and usage

This module can be installed by running gem install robut-weather. This will require the additional gems robut, json, and {wunderground}[https://github.com/wnadeau/wunderground], which may or may not require their own dependencies.

Your Chatfile will need to have the Weather plugin loaded.

require 'robut-weather'
Robut::Plugin::Weather.default_location = "[DEFAULT LOCATION]"
Robut::Plugin::Weather.api_key = "[API KEY]"
Robut::Plugin.plugins << Robut::Plugin::Weather
DEFAULT LOCATION

must be in an acceptible Weather Underground format. See Location Formats below.

API KEY

must be obtained through Weather Underground. The Weather Underground API is only available to registered members. For light use, there is no charge. A key can be obtained from api.wunderground.com/weather/api/

Changelog

v0.1.4 released 9/28/2014

Command now requires you to specify the bot’s name as an @mention

Re-pushed gem with new version to include changelog

v0.1.3 released 9/24/2014

Command now requires you to specify the bot’s name as an @mention

0.1.2 released 12/21/2013

Initial official release

Location Formats

Locations must be in the format expected by Weather Underground’s API

See api.wunderground.com/weather/api/d/docs?d=data/geolookup#examples for further examples.

Contributing to robut-weather

Weather Underground API Usage

The data provided by this module comes from Weather Underground.