mangadex_api::v5::user::history

Module get

Source
Expand description

Builder for getting the logged-in user history.

https://api.mangadex.org/docs/swagger.html#/ReadMarker/get-reading-history

§Examples

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 res = client
    .user()
    .history()
    .get()
    .send()
    .await?;

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

Structs§