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

Module get

Source
Expand description

Builder for the followed scanlation groups endpoint.

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

§Examples

use uuid::Uuid;

use mangadex_api::v5::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 res = client
    .user()
    .follows()
    .group()
    .get()
    .limit(1_u32)
    .send()
    .await?;

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

Structs§