rust-anilist 0.1.5

A Rust wrapper for the Anilist API, providing asynchronous methods to interact with various entities like Anime, Manga, User, Person, and Character.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use rust_anilist::Client;

#[tokio::test]
async fn get_user() {
    let user = Client::default().get_user(5375822).await;
    user.as_ref().unwrap();
    assert!(user.is_ok())
}

#[tokio::test]
async fn get_user_by_name() {
    let user = Client::default().get_user_by_name("andrielfr").await;
    assert!(user.is_ok())
}