mangadex_api::v5::manga::manga_id::relation

Module get

Source
Expand description

Builder for fetching a Manga’s relations.

This fetches the related Manga for the specified Manga such as spin-offs, doujinshis, and more.

https://api.mangadex.org/docs/swagger.html#/Manga/get-manga-relation

§Examples

use uuid::Uuid;

use mangadex_api::v5::MangaDexClient;

let client = MangaDexClient::default();

let manga_id = Uuid::new_v4();
let res = client
    .manga()
    .manga_id(manga_id)
    .relation()
    .get()
    .send()
    .await?;

println!("manga relation list: {:?}", res);

Structs§