mal-rs

The purpose of this library is to provide high-level access to the MyAnimeList API. It currently allows you to search for anime / manga, verify user credentials, and add / update / delete anime and manga from a user's list.
Usage
By default, the library builds with support to access a user's anime and manga list.
If you plan on performing operations on both, you can simply add mal as a dependency to your Cargo.toml file:
[]
= "0.4"
If you only need to access one type of list (or none at all), you should use the following feature gates to reduce the final binary size and compilation time:
If you only need access to the user's anime list, use the anime-list feature:
[]
= "0.4"
= false
= ["anime-list"]
If you only need access to a user's manga list, use the manga-list feature:
[]
= "0.4"
= false
= ["manga-list"]
Or, if you don't need to access either, just disable the default features:
[]
= "0.4"
= false
Example
The following will update an existing anime on a user's list, but the code to add / delete an anime is similar:
extern crate mal;
use MAL;
use List;
use WatchStatus;