mangadex_api::v5::statistics::manga::id

Module get

Source
Expand description

Builder for getting a given Manga’s statistics.

https://api.mangadex.org/docs/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()
    .manga()
    .id(manga_id)
    .get()
    .send()
    .await?;

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

Structs§