mistval / unofficial-jisho-api

Encapsulates the official Jisho.org API and also provides kanji, example, and stroke diagram search.
MIT License
140 stars 15 forks source link

Searching for Kanji with more than one is not found #14

Closed TopHatMan closed 5 years ago

TopHatMan commented 5 years ago

Ex : 言語 returns false but searching for 言 returns found.

more complex searches break.

mistval commented 5 years ago

Jisho.org only has kanji results for single kanji, so it's unsurprising that nothing is found if you search for multiple kanji.

If you want to search for both of those kanji, you'll need to search for them one at a time. If you want to search for the word 言語, you can use the searchForPhrase function instead.