Download this source code for
5 USD


Download this source code for
5 USD


Download this source code for
5 USD


Download this source code for
5 USD

mangadex-dart-api

a mangadex api wrapper for dart.

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
  • getting chapters
  • getting manga
  • getting cover
  • manga search
  • getting user
  • captcha
  • getting group
  • logged in user’s followed manga chapter feed
  • getting customlist
  • getting customlist’s chapter feed
  • getting followed manga & group list

what’s not yet implemented

  • managing actions (following, changing reading status etc.)
  • creating accounts
  • and other stuff…

don’t forget to check the docs


Download this source code for
5 USD


Download this source code for
5 USD


Download this source code for
5 USD


Download this source code for
5 USD

Comments are closed.