Project

wordsapi

0.0
No release in over 3 years
Low commit activity in last 3 years
A Ruby interface to the Words API
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.5
~> 0
~> 3.3.0

Runtime

 Project Readme

Words API gem

Gem Version Official documentation

About Ruby magic comment

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"
  ]
}