unofficial_jisho_api_dart/example/api/phrase_search.dart

9 lines
243 B
Dart

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