Skip to content

A Lita handler for dictionary functionality backed by Wordnik.

License

Notifications You must be signed in to change notification settings

jimmycuadra/lita-wordnik

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lita-wordnik

Build Status Code Climate Coverage Status

lita-wordnik is a handler for Lita that adds dictionary functionality backed by Wordnik.

Installation

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

gem "lita-wordnik"

Configuration

Required attributes

  • api_key (String) - Your API key for Wordnik. Register for one at the Wordnik Developer page.

Example

Lita.configure do |config|
  config.handlers.wordnik.api_key = "abc123"
end

Usage

To get the definition for a word:

Lita: define WORD

To get synonyms for a word:

Lita: synonyms WORD

or

Lita: words like WORD

To get antonyms for a word:

Lita: antonyms WORD

or

Lita: words unlike WORD

License

MIT

About

A Lita handler for dictionary functionality backed by Wordnik.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages