mirror of
https://github.com/h7x4/unofficial_jisho_api_dart.git
synced 2025-07-11 23:11:39 +02:00
example
api
example_search.dart
kanji_search.dart
phrase_scrape.dart
phrase_search.dart
parser
lib
test
.gitignore
CHANGELOG.md
README.md
analysis_options.yaml
pubspec.yaml
9 lines
243 B
Dart
9 lines
243 B
Dart
import 'dart:convert';
|
|
import 'package:unofficial_jisho_api/api.dart' as jisho;
|
|
final encoder = JsonEncoder.withIndent(' ');
|
|
|
|
void main() async {
|
|
await jisho.searchForPhrase('日').then((result) {
|
|
print(encoder.convert(result));
|
|
});
|
|
} |