mangadex_library 1.0.8 mangadex_library: ^1.0.8 copied to clipboard
A mangadex library for dart to facilitate easier access to the Mangadex API (https://api.mangadex.org)
example/mangadex_library_example.dart
import 'package:mangadex_library/mangadex_library.dart';
import 'dart:io';
void main() async {
print('Enter a search query: ');
var query = stdin.readLineSync();
var searchData = await search(query ?? '');
print('Title of all manga found: \n');
for (var i = 0; i < searchData.results.length; i++) {
print(searchData.results[i].data.attributes.title.en);
}
}