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:
@@ -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));
|
||||
});
|
||||
}
|
||||
Reference in New Issue
Block a user