lita-directions

Build Status Coverage Status

Installation

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

A handler for Lita that returns the distance and time between two locations via the google directions api and also returns a link to the directions via google maps.

Installation

Add lita-directions to your Lita Gemfile:

gem "lita-directions"

Configuration

Usage

This plugin requires a api key from The Google Directions api.

Lita.configure do |config|
  config.handlers.directions.google_api_key = "xxxxxxxxxxxx-1234567890"
end

Usage

Lita: how far is it from New York, NY to San Francisco, CA
Lita: how far from 10001 to San Francisco, CA
Lita: LGA to SFO

License

MIT