Dinosaurus
Ruby wrapper for the Big Huge Labs Thesaurus API.
Installation
Add this line to your application's Gemfile:
gem 'dinosaurus'
And then execute:
$ bundle
Or install it yourself as:
$ gem install dinosaurus
Usage
Add your api key using the configure
method.
Dinosaurus.configure do |config|
config.api_key = 'djksfhjk'
end
Now, lookup words in the Thesaurus:
require "dinosaurus"
results = Dinosaurus.lookup('word')
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request