Go to file
Koen Bolhuis 508f697a51 Add rate limiting information to response types
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.
2021-01-30 03:06:02 +01:00
examples Move Client to raw module 2021-01-19 23:51:17 +01:00
src Add rate limiting information to response types 2021-01-30 03:06:02 +01:00
.gitignore Initial commit 2021-01-09 04:36:14 +01:00
CHANGELOG.md Release v0.2.0 2021-01-20 01:14:33 +01:00
Cargo.toml Release v0.2.0 2021-01-20 01:14:33 +01:00
LICENSE Add LICENSE, README.md and Cargo.toml fields 2021-01-10 21:50:29 +01:00
README.md Add comparison with listenbrainz-rust to readme 2021-01-30 02:31:04 +01:00
rustfmt.toml Add default rustfmt config 2021-01-14 03:29:15 +01:00

README.md

listenbrainz

Crate Documentation

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.