Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
tosho-musq
An asynchronous client for the MU! API by SQ.
The following crate is used by the tosho app.
Usage
Download the tosho app, or you can utilize this crate like any other Rust crate:
use MUClient;
use get_constants;
async
Available get_constants value are:
1: Android2: iOS3: Web
Authentication
The following sources do not have any easy authentication method.
The command to authenticate is tosho mu auth.
See below on how to obtain the secret token. For mobile version, it's recommended that you set up network intercepting first; please read INTERCEPTING.
Using the CLI, you can do this:
Or, with Apple constants:
Or, with Web constants:
With crates, you can follow the above usages.
Web
- Login in the browser
- Open Network Inspector
- Visit the "My Page" page
- Check API call to
/api/my_pagewhich has thesecretparam, copy it. - Authenticate with
tosho.
Android
- Open the source app.
- Click on the home page or my page.
- Observe the requests on HTTP Toolkit and find the request to the API that has
secretas the query parameters. - Save that secret elsewhere and authenticate with
tosho.
Apple
- Open the Stream app and click
Sniff Now. - Go to the source app and open the
HomeorMy Page. - Return to the Stream app and click
Sniff History, then select the most recent item. - Find the request that goes to the API of the source app and locate the request that has
secret=xxxxxin them. - Copy the link and save the secret value somewhere so you can authenticate with
tosho.
Disclaimer
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.
License
This project is licensed with MIT License (LICENSE or http://opensource.org/licenses/MIT)