1
0
mirror of https://github.com/h7x4/unofficial_jisho_api_dart.git synced 2025-07-10 22:42:44 +02:00
Files
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
unofficial_jisho_api_dart/example/phrase_scrape_example.dart
2020-06-23 12:46:19 +02:00

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));
});
}