mangadex_api 1.0.0-dev.2 copy "mangadex_api: ^1.0.0-dev.2" to clipboard
mangadex_api: ^1.0.0-dev.2 copied to clipboard

discontinued
outdated

An unofficial MangaDex API wrapper for Dart/Flutter

A MangaDex API wrapper for Dart

Open in Visual Studio Code Dart Test

Usage #

A simple usage example:

import 'package:mangadex_api/mangadex_api.dart';

main() {
  var client = MDClient();

  client.getChapter('5e8bc984-5f3f-4fb1-b6ee-cf7f3812b112').then((chapter) {
    print(chapter!.title);
  });

  client.getMangaInfo('a96676e5-8ae2-425e-b549-7f15dd34a6d8',
      appendChapters: true, translatedLang: ['cs']).then((m) {
    print(m!.title['en']);
  });
}

Currently if you login, only requests where authentication is required will be done with your token, unless you set the useLogin parameter in a function as true.

Captcha #

If the server returns a captcha, the library will throw a [CaptchaException], which, if handled, has the sitekey inside. After you solve the captcha, you need to pass the result to the [solveCaptcha] function.

What's implemented #

  • Log-in
  • Get Chapters
  • Get Manga
  • Get cover
  • Manga search
  • Get user
  • Captcha
  • Get group
  • Logged in user's followed manga chapter feed

What's NOT yet implemented #

  • CustomLists
  • and a bunch of other stuff

Follow progress to the official 1.0.0 release here

Features and bugs #

Please file feature requests and bugs at the issue tracker.

1
likes
0
pub points
0%
popularity

Publisher

verified publisherhernikplays.cz

An unofficial MangaDex API wrapper for Dart/Flutter

Homepage
Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

http

More

Packages that depend on mangadex_api