mangadex_api::v5::user::follows::group::id

Module get

Source
Expand description

Builder for checking if the logged-in user follows a scanlation group.

https://api.mangadex.org/docs/swagger.html#/Follows/get-user-follows-group-id

§Examples

use uuid::Uuid;

use mangadex_api::MangaDexClient;
// use mangadex_api_types::{Password, Username};

let client = MangaDexClient::default();

/*

    let _login_res = client
        .auth()
        .login()
        .post()
        .username(Username::parse("myusername")?)
        .password(Password::parse("hunter23")?)
        .send()
        .await?;

 */

let group_id = Uuid::new_v4();
let res = client
    .user()
    .follows()
    .group()
    .id(group_id)
    .get()
    .send()
    .await?;

println!("check: {:?}", res);

Structs§