Crates.io | myanimelist-rs |
lib.rs | myanimelist-rs |
version | 0.1.0 |
source | src |
created_at | 2020-07-14 01:50:36.71212 |
updated_at | 2020-07-14 01:50:36.71212 |
description | An (unofficial) typesafe wrapper around the official MyAnimeList v2 API |
homepage | https://gitlab.com/joncppl/myanimelist-rs |
repository | https://gitlab.com/joncppl/myanimelist-rs |
max_upload_size | |
id | 264891 |
size | 126,236 |
An (unofficial) typesafe wrapper around the official MyAnimeList v2 API.
More information, including official documentation for the API can be found here.
https://myanimelist.net/clubs.php?cid=13727
MAL Uses Oauth2 authentication. This requires pre-registrations, which can be performed here https://myanimelist.net/apiconfig.
Oauth2 authentication can be a bit tricky, especially for native applications. This library does not attempt to solve this generally. It does however provide some rudimentary helpers that are suitable for testing in a native setting. It is however up to the application to implement an authentication flow suitable for its security and convenience requirements.
For an example of what authentication flow might look like
(using the provided non-general tools!)
look in examples/auth.rs
Currently, only synchronous (blocking) requests (using the reqwest library) are implemented.
For examples on how to use the API, see examples/sync.rs
.