mirror of
https://github.com/h7x4/unofficial_jisho_api_dart.git
synced 2025-07-10 22:42:44 +02:00
example
example_search_example.dart
kanji_search_example.dart
phrase_scrape_example.dart
lib
test
.gitignore
CHANGELOG.md
README.md
analysis_options.yaml
pubspec.yaml
10 lines
272 B
Dart
10 lines
272 B
Dart
import 'dart:convert';
|
|
import 'package:unofficial_jisho_api/unofficial_jisho_api.dart';
|
|
final jisho = JishoApi();
|
|
final encoder = JsonEncoder.withIndent(' ');
|
|
|
|
void main() async {
|
|
await jisho.scrapeForPhrase('谷').then((data) {
|
|
print(encoder.convert(data));
|
|
});
|
|
} |