api library

This library provides search functions for searching/scraping Jisho.org.

It provides a built-in http client and performs async requests to the server for different types of requests.

Classes

AudioFile
Pronounciation audio.
ExampleResultData
All data making up one example sentence.
ExampleResults
The main wrapper containing data about the query and whether or not it was successful.
ExampleSentencePiece
A word in an example sentence, consisting of either just kana, or kanji with furigana.
JishoAPIResult
The main API result wrapper containing whether it was successful, and potential results.
JishoAttribution
The original source(s) of the result.
JishoJapaneseWord
Kanji/Furigana pair, or just kana as word.
JishoResult
The main API data class, collecting all information of one result in one place.
JishoResultMeta
Metadata with result status.
Relevant links of the search result.
JishoWordSense
One sense of the word.
JishoWordSource
Origin of the word (from other languages).
KanjiKanaPair
A pair of kanji and potential furigana.
KanjiResult
The main wrapper containing data about the query and whether or not it was successful.
KanjiResultData
The main kanji data class, collecting all the result information in one place.
PhrasePageScrapeResult
The main wrapper containing data about the query and whether or not it was successful.
PhrasePageScrapeResultData
The main scrape data class, collecting all the result information in one place.
PhraseScrapeMeaning
The data representing one "meaning" or "sense" of the word
PhraseScrapeSentence
An example sentence.
Radical
Information regarding the radical of a kanji.
YomiExample
An example of a word that contains the kanji in question.

Functions

scrapeForPhrase(String phrase) Future<PhrasePageScrapeResult>
Scrape the word page for a word/phrase.
searchForExamples(String phrase) Future<ExampleResults>
Scrape Jisho.org for examples.
searchForKanji(String kanji) Future<KanjiResult>
Scrape Jisho.org for information about a kanji character.
searchForPhrase(String phrase) Future<JishoAPIResult>
Query the official Jisho API for a word or phrase