You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
print('Stroke order diagram: ${data.strokeOrderDiagramUri}');
54
+
print('Stroke order SVG: ${data.strokeOrderSvgUri}');
55
+
print('Stroke order GIF: ${data.strokeOrderGifUri}');
56
+
print('Jisho Uri: ${data.uri}');
57
+
}
54
58
});
55
59
}
56
60
```
@@ -143,45 +147,53 @@ This outputs the following:
143
147
{
144
148
"found": true,
145
149
"query": "谷",
146
-
"uri": "https://jisho.org/word/%E8%B0%B7",
147
-
"tags": [
148
-
"Common word",
149
-
"JLPT N3",
150
-
"Wanikani level 5"
151
-
],
152
-
"meanings": [
153
-
{
154
-
"seeAlsoTerms": [],
155
-
"sentences": [],
156
-
"definition": "valley",
157
-
"supplemental": [],
158
-
"definitionAbstract": null,
159
-
"tags": [
160
-
"noun"
161
-
]
162
-
},
163
-
{
164
-
"seeAlsoTerms": [],
165
-
"sentences": [],
166
-
"definition": "Valley",
167
-
"supplemental": [],
168
-
"definitionAbstract": "In geology, a valley or dale is a depression with predominant extent in one direction. A very deep river valley may be called a canyon or gorge. The terms U-shaped and V-shaped are descriptive terms of geography to characterize the form of valleys. Most valleys belong to one of these two main types or a mixture of them, (at least) with respect of the cross section of the slopes or hillsides.",
169
-
"tags": [
170
-
"wikipedia definition"
171
-
]
172
-
}
173
-
],
174
-
"otherForms": [
175
-
{
176
-
"kanji": "渓",
177
-
"kana": "たに"
178
-
},
179
-
{
180
-
"kanji": "谿",
181
-
"kana": "たに"
182
-
}
183
-
],
184
-
"notes": []
150
+
"data": {
151
+
"uri": "https://jisho.org/word/%E8%B0%B7",
152
+
"tags": [
153
+
"Common word",
154
+
"JLPT N3",
155
+
"Wanikani level 5"
156
+
],
157
+
"meanings": [
158
+
{
159
+
"seeAlsoTerms": [],
160
+
"sentences": [],
161
+
"definition": "valley",
162
+
"supplemental": [],
163
+
"definitionAbstract": null,
164
+
"tags": []
165
+
},
166
+
{
167
+
"seeAlsoTerms": [],
168
+
"sentences": [],
169
+
"definition": "Valley",
170
+
"supplemental": [],
171
+
"definitionAbstract": "In geology, a valley or dale is a depression with predominant extent in one direction. A very deep river valley may be called a canyon or gorge. The terms U-shaped and V-shaped are descriptive terms of geography to characterize the form of valleys. Most valleys belong to one of these two main types or a mixture of them, (at least) with respect of the cross section of the slopes or hillsides.",
Permission to scrape granted by Jisho's admin Kimtaro: https://jisho.org/forum/54fefc1f6e73340b1f160000-is-there-any-kind-of-search-api
275
+
276
+
## Notes
277
+
278
+
The null-safety of dart 2.12 makes the parsing and interpreting of the native search API a little unreliable. Please be cautious when using `jisho.searchForPhrase()`, and if you do, please read the [API docs][api-docs] about the different result values.
0 commit comments