#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

4 releases

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

#464 in Web programming

Download history 306/week @ 2025-01-01 155/week @ 2025-01-08

461 downloads per month

MIT license

160KB
3.5K SLoC

Rust 2.5K SLoC // 0.0% comments GraphQL 828 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

~7–19MB
~245K SLoC