<h1 align=center>ncmapi-rs</h1>
NetEase Cloud Music API for Rust.
### Useage
```rust
#[tokio::main]
async fn main() -> TResult<()> {
let api = NcmApi::default();
let resp = api::search("mota", None).await;
let res = resp.unwrap().deserialize_to_implict();
println!("{:#?}", res);
Ok(())
}
```
### Document
Most of the functions are self documented. If there is some confusion about the params of a funtion requires, figure out [here](https://neteasecloudmusicapi.vercel.app)
### How it works
* api: export api functions.
* client:
* takes an ApiRequst, process it into a Request by presenting it with header and encrypt the payload etc. And then send requests to the server, takes the response and then returns the ApiResponse back.
* cache
### Contribute
If you think this package useful, please do make pull requests.
### License
[MIT](LICENSE)