unofficial_jisho_api_dart/example/phrase_scrape_example.dart

10 lines
273 B
Dart
Raw Permalink Normal View History

2020-06-23 12:46:19 +02:00
import 'dart:convert';
import 'package:unofficial_jisho_api/unofficial_jisho_api.dart';
final jisho = JishoApi();
2020-06-23 12:56:05 +02:00
final encoder = JsonEncoder.withIndent(' ');
2020-06-23 12:46:19 +02:00
void main() async {
await jisho.scrapeForPhrase('').then((data) {
print(encoder.convert(data));
});
}