Wolfram Alpha plug-in for lita.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
spec
.gitignore
.travis.yml
Gemfile
LICENSE
README.rst
Rakefile
lita-onewheel-wolfram-alpha.gemspec
lita_config_sample.rb

README.rst

lita-onewheel-wolfram-alpha

https://coveralls.io/repos/github/onewheelskyward/lita-onewheel-wolfram-alpha/badge.svg?branch=master https://travis-ci.org/onewheelskyward/lita-onewheel-wolfram-alpha.svg?branch=master

Queries Wolfram Alpha for the text specified.

Installation

Add lita-onewheel-wolfram-alpha to your Lita instance's Gemfile:

gem 'lita-onewheel-wolfram-alpha'

Configuration

Get yourself a Wolfram Alpha app id here: https://developer.wolframalpha.com/portal/apisignup.html, then place the ID in the config.

Lita.configure do |config|
  config.handlers.onewheel_wolfram_alpha.app_id = 'yourwolframappid'
  config.handlers.onewheel_wolfram_alpha.api_uri = 'http://api.wolframalpha.com/v2/query?input=[query]&appid=[appid]'
end

Usage

alpha pi:returns "3.14......"

License

MIT