unofficial_jisho_api_dart/example/api/phrase_scrape.dart

9 lines
239 B
Dart

import 'dart:convert';
import 'package:unofficial_jisho_api/api.dart' as jisho;
final JsonEncoder encoder = JsonEncoder.withIndent(' ');
void main() {
jisho.scrapeForPhrase('').then((data) {
print(encoder.convert(data));
});
}