1
0
mirror of https://github.com/h7x4/unofficial_jisho_api_dart.git synced 2025-11-07 15:56:17 +01:00

Add parser library

This commit is contained in:
2020-06-25 22:42:16 +02:00
parent 9557960c46
commit 29ade01eed
11 changed files with 99 additions and 105 deletions

View File

@@ -1,10 +1,9 @@
import 'dart:convert';
import 'package:unofficial_jisho_api/unofficial_jisho_api.dart';
final jisho = JishoApi();
import 'package:unofficial_jisho_api/api.dart' as jisho;
final encoder = JsonEncoder.withIndent(' ');
void main() async {
await jisho.searchForPhrase('反対').then((result) {
await jisho.searchForPhrase('').then((result) {
print(encoder.convert(result));
});
}