1
0
mirror of https://github.com/h7x4/unofficial_jisho_api_dart.git synced 2025-10-06 04:53:58 +02:00

Make parser export functions directly

This commit is contained in:
2020-06-26 00:20:58 +02:00
parent b58c439418
commit d6509e6392
9 changed files with 18 additions and 32 deletions

View File

@@ -10,7 +10,7 @@ final SEARCH_URI = jisho_parser.uriForPhraseScrape(SEARCH_EXAMPLE);
void main() async {
await http.get(SEARCH_URI).then((result) {
final parsedResult = jisho_parser.parsePhraseScrapeHtml(result.body, SEARCH_EXAMPLE);
final parsedResult = jisho_parser.parsePhrasePageData(result.body, SEARCH_EXAMPLE);
print(encoder.convert(parsedResult));
});
}