1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
//! api methods, grouped by domain.
//!
//! each module adds an `impl Client` block, so every endpoint is reachable
//! directly on the client (`client.tracks(...)`, `client.search(...)`) — one flat
//! surface, one file per domain.
//!
//! # paged endpoints
//!
//! endpoints that answer "everything about this one thing" — an artist's tracks,
//! an artist's albums, the account's liked clips — also come with an `_all`
//! variant that walks every page and concatenates the result.
//!
//! the browse-style listings (metatags, labels, concerts) deliberately do not.
//! those back infinite-scroll UIs over catalogue-sized result sets, where reading
//! every page is a mistake rather than a convenience; drive them a page at a time
//! and stop when [`Pager::has_next`](crate::models::Pager::has_next) says to.
/// how many pages an `_all` walk will read before giving up.
///
/// an endpoint that misreports its pager — always answering page 0, say — would
/// otherwise loop until the process is killed. at the page sizes these endpoints
/// use this ceiling is far past any real artist or library.
pub const MAX_PAGES: u32 = 100;
pub use ArtistAlbumsQuery;
pub use DeviceAuthOptions;
pub use ;
pub use HistoryQuery;
pub use RotorFeedbackReport;
pub use SearchQuery;
pub use PlayAudioReport;