#anilist #api-bindings #api #anilist-api

rust-anilist

A Rust wrapper for the Anilist API, providing asynchronous methods to interact with various entities like Anime, Manga, User, Person, and Character

3 releases

new 0.1.4 Jan 5, 2025
0.1.3 Jan 4, 2025
0.1.2 Jan 3, 2025

#510 in Web programming

Download history 316/week @ 2024-12-31

316 downloads per month

MIT license

150KB
3K SLoC

Rust 2.5K SLoC // 0.0% comments GraphQL 777 SLoC // 0.0% comments

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.

Dependencies

~8–19MB
~252K SLoC