Words API gem
Installation
Add this to your Gemfile:
gem 'wordsapi', '~> 0.1.0'
And run the bundle install command.
Usage
require 'wordsapi'
@client = WordsAPI.new(access_token: YOUR_ACCESS_TOKEN)
@client.similar_to('interesting')
Output
{
"word": "interesting",
"similarTo": [
"amusive",
"diverting",
"engrossing",
"entertaining",
"amusing",
"fascinating",
"gripping",
"intriguing",
"newsworthy",
"riveting",
"absorbing"
]
}