| Crates.io | tosho-mplus |
| lib.rs | tosho-mplus |
| version | 0.4.0 |
| created_at | 2024-05-20 06:25:20.401544+00 |
| updated_at | 2025-05-31 01:26:53.003489+00 |
| description | An asynchronous client of M+ API by S. |
| homepage | https://github.com/noaione/tosho-mango |
| repository | https://github.com/noaione/tosho-mango |
| max_upload_size | |
| id | 1245471 |
| size | 167,084 |
An asynchronous client for the M+ API by S.
The following crate is used by the tosho app.
Download the tosho app, or you can utilize this crate like any other Rust crate:
use tosho_mplus::MPClient;
use tosho_mplus::proto::Language;
use tosho_mplus::constants::get_constants;
#[tokio::main]
async fn main() {
let client = MPClient::new("1234", Language::English, get_constants(1)).unwrap();
let home_view = client.get_home_page().await.unwrap();
}
Available get_constants value are:
1: AndroidThe following sources do not have any easy authentication method.
The command to authenticate is tosho mp auth.
It's recommended that you set up network intercepting first; please read INTERCEPTING.
Using the CLI, you can do this:
$ tosho mp auth secret
With crates, you can follow the above usages.
secret as the query parameters.tosho.This project is designed as an experiment and to create a local copy for personal use. These tools will not circumvent any paywall, and you will need to purchase and own each chapter with your own account to be able to make your own local copy.
We're not responsible if your account got deactivated.
This project is licensed with MIT License (LICENSE or http://opensource.org/licenses/MIT)