Module mangadex_api::v5::statistics::get_manga
source · [−]Expand description
Builder for getting a given Manga’s statistics.
https://api.mangadex.org/swagger.html#/Statistics/get-statistics-manga-uuid
This only gets statistics for a single Manga.
Examples
use mangadex_api::types::MangaStatus;
use mangadex_api::v5::MangaDexClient;
use uuid::Uuid;
let client = MangaDexClient::default();
// Official Test Manga ID.
let manga_id = Uuid::parse_str("f9c33607-9180-4ba6-b85c-e4b5faee7192")?;
let manga_stats = client
.statistics()
.get_manga()
.manga_id(&manga_id)
.build()?
.send()
.await?;
println!("Response: {:?}", manga_stats);
Structs
Enums
Error type for GetMangaStatisticsBuilder