Simple program that wraps the Jisho word search API and returns list of search results for the given word.
A powerful Japanese-English dictionary. It lets you find words, kanji, example sentences and more quickly and easily. You can find it here: https://jisho.org
Returns a list of maps with words that match based on words, tags and pages using Jisho API.
Include jishocaller to your deps then run mix deps.get
def deps do:
[
{:jishocaller, "~> 1.0.0"}
]
end
Documentation found on: https://hexdocs.pm/jishocaller/api-reference.html
To search a word use:
JISHOCALLER.search("dog")
To search a word using tags:
JISHOCALLER.search("出来る", ["jlpt-n5", "verb"])
To search a word using tags and pages:
JISHOCALLER.search("差す", ["verb"], 1)
To search using a tag:
JISHOCALLER.search_by_tags(["jlpt-n5", "verb"])
To search using a tag and page:
JISHOCALLER.search_by_tags(["jlpt-n5", "verb"], 3)