A robust rust wrapper to Anilist.
Find a file
2025-04-07 00:16:24 -03:00
.github/workflows chore: happy new year 2025-01-02 11:07:54 -03:00
queries feat(queries): update character sorting to FAVOURITES in get_anime and get_manga queries 2025-01-23 01:21:07 -03:00
src refactor(models): remove redundant documentation comments 2025-01-29 23:52:58 -03:00
tests chore: remove mal_id var 2025-01-02 17:57:08 -03:00
.gitignore feat: use serde::Deserialize 2024-09-09 23:33:22 -03:00
.rusty-hook.toml chore: add workflows 2022-04-02 10:46:40 -03:00
Cargo.toml chore(deps): include openssl to enforce building it from source on systems that don't have openssl installed natively 2025-04-07 00:16:24 -03:00
LICENSE chore: happy new year 2025-01-02 11:07:54 -03:00
README.md docs(readme): update README and activate rusty-hook 2025-01-03 19:13:26 -03:00

rust-anilist 🚀

Just an Anilist API wrapper made in Rust.

Features

  • Basic functionality to interact with the Anilist API.
  • Asynchronous methods to load full details of entities like Anime, Manga, User, Person, and Character.
  • Comprehensive data models with detailed documentation.

Current status

It's working, just the basics, but it already works.

Installation

Add the following to your Cargo.toml:

[dependencies]
rust-anilist = "*"

Usage

Here's a basic example of how to use the library:

use rust_anilist::Client;

#[tokio::main]
async fn main() {
    let client = Client::with_token("your_api_key");
    let anime = client.get_anime(1).await.unwrap();
    println!("{:?}", anime);
}

Documentation

The library is fully documented. You can find the documentation here.

License

Copyright © 2022-2025 AndrielFR

Licensed under the Expat/MIT license. This project is also REUSE compliant. See individual files for more copyright information.