1
0
mirror of https://github.com/h7x4/unofficial_jisho_api_dart.git synced 2025-07-11 23:11:39 +02:00
Files
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
unofficial_jisho_api_dart/example/api/phrase_search.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));
});
}