Forecast IO IRC plugin for Lita.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
lib
locales
spec
.gitignore
.travis.yml
Gemfile
LICENSE
README.md
Rakefile
lita-onewheel-forecast-io.gemspec
lita_config_sample.rb

README.md

lita-onewheel-forecast-io

Build Status Coverage Status Documentation Status

This Lita handler takes location-based queries and returns interesting data about the weather. Temperatures, rain chance and intensity, and wind speeds are all included. But wait, there's more! if you download now, you also get 8-ball style replies with !rain and !snow!

Installation

Add lita-onewheel-forecast-io to your Lita instance's Gemfile, from github since it's currently unpublished:

gem 'lita-onewheel-forecast-io', '~> 0.0'

Configuration

Lita.configure do |config|
  config.handlers.onewheel_forecast_io.api_key = 'yourforecastiokey'
  config.handlers.onewheel_forecast_io.api_uri = 'https://api.forecast.io/forecast/'
  config.handlers.onewheel_forecast_io.colors = true
end

Register at https://developer.forecast.io/ to receive an API key (1000 calls/day for free). Once you have your key go ahead and toss if into your config block. Set colors to bool option of your liking. Enjoy!

Usage

!rain, !snow and other fine things.

License

MIT

hmm

☀ ☀ 🔥 🔥 ☼  ☼  ☼