unofficial_jisho_api_dart/example/api/phrase_scrape.dart

9 lines
239 B
Dart
Raw Normal View History

2020-06-23 12:46:19 +02:00
import 'dart:convert';
2020-06-25 22:42:16 +02:00
import 'package:unofficial_jisho_api/api.dart' as jisho;
2020-06-26 01:59:23 +02:00
final JsonEncoder encoder = JsonEncoder.withIndent(' ');
2020-06-23 12:46:19 +02:00
2021-07-25 22:57:02 +02:00
void main() {
jisho.scrapeForPhrase('').then((data) {
2020-06-23 12:46:19 +02:00
print(encoder.convert(data));
});
}