Module mangadex_api::v5::scanlation_group::create
source · [−]Expand description
Builder for the scanlation group creation endpoint.
https://api.mangadex.org/swagger.html#/ScanlationGroup/post-group
Examples
use mangadex_api::v5::MangaDexClient;
use mangadex_api::types::{Password, Username};
let client = MangaDexClient::default();
let _login_res = client
.auth()
.login()
.username(Username::parse("myusername")?)
.password(Password::parse("hunter23")?)
.build()?
.send()
.await?;
let res = client
.scanlation_group()
.create()
.name("My Group Name")
.description("This is a short description about this group...")
.build()?
.send()
.await?;
println!("scanlation group create: {:?}", res);
Structs
Builder for CreateGroup
.
Enums
Error type for CreateGroupBuilder