Expand description
Builder for getting a specific Manga Draft.
This endpoint requires authentication.
This endpoint is largely identical to the Manga Get endpoint except that this fetches Manga that is not in the “published” state.
https://api.mangadex.org/docs/swagger.html#/Manga/get-manga-id-draft
§Examples
use uuid::Uuid;
use mangadex_api::MangaDexClient;
use mangadex_api_types::{Password, Username};
let client = MangaDexClient::default();
/*
// Put your login script here
let _login_res = client
.auth()
.login()
.post()
.username(Username::parse("myusername")?)
.password(Password::parse("hunter23")?)
.send()
.await?;
*/
let manga_id = Uuid::new_v4();
let manga_res = client
.manga()
.draft()
.id(manga_id)
.get()
.send()
.await?;
println!("manga draft view: {:?}", manga_res);
Structs§
- Builder for
GetMangaDraft
.