mangadex_api::v5::statistics::chapter

Module get

Source
Expand description

Builder for finding Chapter statistics.

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

This allows querying for multiple Chapter.

§Examples

use mangadex_api_types::MangaStatus;
use mangadex_api::v5::MangaDexClient;
use uuid::Uuid;

let client = MangaDexClient::default();

// Cool Tsuma no Saa-chan chapter 25
let chapter_id = Uuid::parse_str("1c3a8585-8df6-46d1-af98-fa777666abf2")?;

let chapter_stats = client
    .statistics()
    .chapter()
    .get()
    .chapter_id(chapter_id)
    .send()
    .await?;

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

Structs§