Asthowen / rust-anilist

rust-anilist is a Rust client wrapper for AniList website.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

rust-anilist

Made with Rust Use git

rust-anilist is a Rust client wrapper for AniList website.

Dev

Before committing an update:

  • The code must have no warning with clippy, use the command: clippy
  • The code must be cleaned with cargo fmt, run the command: cargo fmt

Examples

Add to deps

[dependencies]
anilist = { git = "https://github.com/Asthowen/rust-anilist", version = "0.0.2" }

Create client

let anilist_client = AniListClientBuilder::builder()
    .with_initialized_reqwest_client()
    .with_anilist_token("some")
    .build()?;

Set manga progress

anilist_client.set_progress(67, 139741, "access token").await;

Set manga increment progress

anilist_client.set_increment_progress(1, 67, 139741, "access token").await;

Thanks

Thanks to AndrielFR for the models: https://github.com/AndrielFR/rust-anilist

License

rust-anilist | GNU General Public License v3.0

About

rust-anilist is a Rust client wrapper for AniList website.

License:GNU General Public License v3.0


Languages

Language:Rust 100.0%