Bangumi
This is a Rust library for the Bangumi.moe API based on rustified.
Usage
```rust
# #[tokio::test] async fn doctest1() -> Result<(), Box>{ use bangumi::*;
use bangumi::{endpoints::GetCurrent, Endpoint};
let client = bangumi::client();
let result: Vec> = GetCurrent.exec(&client).await?.parse()?;
# Ok(()) }
```
With builder
```rust
# #[tokio::test] async fn doctest2() -> Result<(), Box>{ use bangumi::*;
use bangumi::{endpoints::SearchTags, Endpoint};
let client = bangumi::client();
let result: SearchResult>> =
SearchTags::builder()
.name("魔法少女")
.keywords(false)
.tag_type(TagType::Bangumi)
.build()
.exec(&client)
.await?
.parse()?;
# Ok(()) }
```
For all endpoints, see endpoints.