508f697a51
Add the `rate_limit` field to all response types, which contains rate limiting information such as maximum and remaining requests in the current time frame, as well as when the next time frame starts. All response types now also implement the `ResponseType` trait (internal for now). Currently this trait allows converting from `ureq::Response` to the response type, by extracting rate limiting information from the response headers and deserializing the response body into the response type. |
||
---|---|---|
examples | ||
src | ||
.gitignore | ||
CHANGELOG.md | ||
Cargo.toml | ||
LICENSE | ||
README.md | ||
rustfmt.toml |
README.md
listenbrainz
ListenBrainz API bindings for Rust.
There is also listenbrainz-rust. However, that crate only supports single listens, imports and now playing requests, and is also not maintained anymore. This crate, on the other hand, aims to be a complete API wrapper for the ListenBrainz API, version 1.