Skip to content
main
Switch branches/tags
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
lib
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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!

WARNING

With the upcoming deprecation of the Darksky api (12/2021) this handler will become useless. I'm open to suggestions on new data sources, feel free to open an issue with an idea!

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

☀ ☀ 🔥 🔥 ☼  ☼  ☼

About

Forecast IO IRC plugin for Lita.

Resources

License

Packages

No packages published

Languages