Commit Graph

17 Commits

Author SHA1 Message Date
Koen Bolhuis 0b18a3230b Fix Maloja link in docs 2021-12-03 12:43:31 +01:00
Koen Bolhuis 5dd96b3179 Add ListenBrainz::new_with_url constructor
Analogous to raw::Client::new_with_url
2021-10-20 19:19:27 +02:00
Koen Bolhuis e9fd33a7b3 Add lints
Add some useful #![deny(...)] lints:
- missing_docs to disallow undocumented public items;
- missing_debug_implementations for public types;
- no unsafe code or unstable features.
2021-10-19 23:58:30 +02:00
Koen Bolhuis c76d0d9d89 Add example to crate root 2021-01-20 01:11:47 +01:00
Koen Bolhuis 5f6c5f5375 Improve crate documentation 2021-01-20 00:37:39 +01:00
Koen Bolhuis 9ed9ebfe0f Move Endpoint to raw module 2021-01-20 00:23:35 +01:00
Koen Bolhuis 7f07ecfb32 Add ListenBrainz type
The ListenBrainz struct is a more ergonomic client
than raw::Client. It supports authentication using
a ListenBrainz token. Currently, it allows submitting
"listened" and "now playing" requests to the API
in a more convenient way than manually creating all
request data.
2021-01-20 00:16:53 +01:00
Koen Bolhuis 56a50d936c Move Client to raw module 2021-01-19 23:51:17 +01:00
Koen Bolhuis a22fcff2bf Move low-level models to raw module 2021-01-19 23:41:54 +01:00
Koen Bolhuis cce6d09b35 Use better import form 2021-01-14 02:42:17 +01:00
Koen Bolhuis ae0c47750a Extract Client to client module 2021-01-13 11:52:58 +01:00
Koen Bolhuis 22b04846b2 Implement StatsSitewideArtists endpoint 2021-01-10 21:42:40 +01:00
Koen Bolhuis 14428576a8 Extract Error to error module 2021-01-10 19:30:03 +01:00
Koen Bolhuis a3265dceac Extract Endpoint to endpoint module 2021-01-10 19:22:50 +01:00
Koen Bolhuis 2d23b4cccf Implement more endpoints
- users/{user_list}/recent-listens
- user/{user_name}/playing-now
- user/{user_name}/listens
- latest-import
2021-01-10 18:02:05 +01:00
Koen Bolhuis d7b36ff18d Rename Submission to SubmitListens 2021-01-09 17:03:03 +01:00
Koen Bolhuis e82b685776 Initial commit 2021-01-09 04:36:14 +01:00