Expand description
Builder for getting the current user’s upload session endpoint.
https://api.mangadex.org/docs/swagger.html#/Upload/get-upload-session
§Examples
use uuid::Uuid;
use mangadex_api::MangaDexClient;
// use mangadex_api_types::{Password, Username};
let client = MangaDexClient::default();
/*
let _login_res = client
.auth()
.login()
.post()
.username(Username::parse("myusername")?)
.password(Password::parse("hunter23")?)
.send()
.await?;
*/
let res = client
.upload()
.get()
.send()
.await?;
println!("current upload session: {:?}", res);
Structs§
- Builder for
GetUploadSession
.