No commit activity in last 3 years
No release in over 3 years
Lita interface to Wolfram Alpha.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

Runtime

 Project Readme

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