MangaDex API
Unofficial Rust client/wrapper for the MangaDex API. This also includes some conveniences that are not provided from the API directly such as logging in.
Warning: This is still in the early development stage. Some breaking API changes may occur as the project matures. Consequently, this code is not yet ready for use in production.
Table of Contents
Requirements
Features
Optional Features
time
- Use Chrono for the timestamps instead of integers and arbitrary strings. Included by default.
Examples
Fetch manga by ID
use ;
async
Logging in
Some features on MangaDex are restricted to registered users such as searching by manga title.
In order to use these features, you must log in first and the Reqwest
library
will store the session cookie in the client. Once that's done, you can use call the other endpoints
normally and get the data you need.
use io;
use MangaDexV2;
use LoginAjaxResponseType;
async
Running Examples
The examples can be run with the following:
cargo run --example [example_name]
More details about the examples can be found in the examples README file.
Changelog
The changelog can be found here.
Changes are added manually to keep the changelog human-readable with summaries of the changes from each version.
License
Licensed under either of
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.
Contributing
We welcome contributions from everyone. There are many ways to contribute and the CONTRIBUTING.md document explains how you can contribute and get started.