No commit activity in last 3 years
No release in over 3 years
lita-your-weather provides the ability to ask for the current weather conditions or for a 7 day forecast.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 0
>= 3.0.0

Runtime

>= 4.7
 Project Readme

lita-your-weather

lita-your-weather provides the ability to ask for the current weather conditions or for a 7 day forecast. This gem uses the www.apixu.com api to get the current weather and a 7 day weather forecast.

Installation

Add lita-your-weather to your Lita instance's Gemfile:

gem 'lita-your-weather'

$ bundle install

Configuration

Obtain an API Key from www.apixu.com Add the following to your lita_config.rb :

config.handlers.your_weather.default_location = 'City, State, Country'
config.handlers.your_weather.api_key = 'www.apixu.com Api Key'

Usage

Commands include:

$ lita weather

$ lita weather c

$ lita weather c <location>

$ lita weather f

$ lita weather f <location>

$ lita weather i <location>

$ lita weather i <location>