2020-06-23 16:55:39 +02:00
|
|
|
import 'dart:convert';
|
2020-06-25 22:42:16 +02:00
|
|
|
import 'package:unofficial_jisho_api/api.dart' as jisho;
|
2020-06-26 01:59:23 +02:00
|
|
|
final JsonEncoder encoder = JsonEncoder.withIndent(' ');
|
2020-06-23 16:55:39 +02:00
|
|
|
|
|
|
|
void main() async {
|
2020-06-25 22:42:16 +02:00
|
|
|
await jisho.searchForPhrase('日').then((result) {
|
2020-06-24 17:01:39 +02:00
|
|
|
print(encoder.convert(result));
|
2020-06-23 16:55:39 +02:00
|
|
|
});
|
|
|
|
}
|