Popularity
2.7
Growing
Activity
0.0
Stable
12
2
1

Monthly Downloads: 12
Programming language: Elixir
License: MIT License
Tags: Miscellaneous    

Jisho-Elixir alternatives and similar packages

Based on the "Miscellaneous" category

Do you think we are missing an alternative of Jisho-Elixir or a related project?

Add another 'Miscellaneous' Package

README

JishoElixir Hex pm

A wrapper around Jisho.org's API (http://jisho.org).

What is Jisho.org?

It's an online Japanese to English dictionary that you can read about here.

JishoElixir currently Supports

  1. Searching by word
  2. Searching by tags http://jisho.org/docs
  3. Searching for verbs
  4. And much more if you combine them.

Installation

First, add JishoElixir to your mix.exs dependencies:

def deps do
  [
    {:jisho_elixir, "~> 0.1.0"}
  ]
end

and run $ mix deps.get

Usage

Your best bet is to visit the hex docs, but:

    JishoElixir.search("峠", ["n", "exp"], 1)
    JishoElixir.tag("jlpt-n1")
    JishoElixir.verb("prance")

FAQ

What about formatting the response?

The library returns a map that's been parsed directly from json. I leave it up to you to write a wrapper around it.

Do I need an API key?

Nope.

Where can I find documentation for the Jisho API

At the moment, just here.

What about kanji?

It's been hinted by the Jisho team that it's on the way, but for now you can search kanji the same way you search a word. The downside is kanji tags (found here) won't work.

Thanks

Thank you to the Jisho.org team, especially Kimtaro.