Nebrija: A rae parser

Build Status Code Climate

Install

$ gem install nebrija

API

require 'nebrija'
res = Rae.new.search('word/id')
puts res # prints the results

HTTPRae returns a hash where the key status can be error|success.

If the request is succesful, the key type indicates whether the result type is a single word or multiple with single|multiple.

The response data can be found in the response key which holds an array.

The response data is formatted as shown in the nebrija/cli file:

CLI searching

$ nebrija <word>

Maybe you are lazy and want to add an alias to rae or es like I do :)

Friend projects/ project using this gem

TODO

  • Improve the API.
  • Update clients to use new API.
  • Fix multiple responses.
  • Better doc.
  • Mockless testing.
  • Make the parser more readable.