mangadex_api::v5::statistics::manga

Module get

Source
Expand description

Builder for finding Manga statistics.

https://api.mangadex.org/docs/swagger.html#/Statistics/get-statistics-manga

This allows querying for multiple 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()
    .manga()
    .get()
    .manga_id(&manga_id)
    .send()
    .await?;

println!("Response: {:?}", manga_stats);

Structs§