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
53
54
55
56
57
58
59
60
61
62
63
64
/// Qobuz API content modules.
///
/// This module contains various submodules that handle different types of content available
/// through the Qobuz API, including albums, artists, catalogs, labels, playlists, and tracks.
/// Each submodule provides specific functionality for interacting with the corresponding
/// content type on the Qobuz platform.
///
/// # Example
///
/// ```no_run
/// use qobuz_api_rust::QobuzApiService;
///
/// #[tokio::main]
/// async fn main() -> Result<(), Box<dyn std::error::Error>> {
/// let service = QobuzApiService::new().await?;
///
/// // Search for albums
/// let albums = service.search_albums("radiohead", Some(10), None, None).await?;
///
/// // Get a specific track
/// let track = service.get_track("12345", None).await?;
///
/// Ok(())
/// }
/// ```
/// Album-related API functionality.
///
/// This module provides methods for retrieving and searching albums on the Qobuz platform.
/// It includes functionality for getting detailed album information, searching for albums
/// by title or artist, and downloading entire albums.
/// Artist-related API functionality.
///
/// This module provides methods for retrieving and searching artists on the Qobuz platform.
/// It includes functionality for getting detailed artist information, searching for artists
/// by name, and retrieving an artist's discography.
/// Catalog-related API functionality.
///
/// This module provides methods for searching the overall Qobuz catalog. It allows searching
/// across multiple content types (albums, artists, tracks, etc.) with a single query.
/// Label and article-related API functionality.
///
/// This module provides methods for interacting with labels and articles on the Qobuz platform.
/// It includes functionality for searching articles and retrieving label information.
/// Playlist-related API functionality.
///
/// This module provides methods for retrieving and searching playlists on the Qobuz platform.
/// It includes functionality for getting detailed playlist information and searching for
/// playlists by name or content.
/// Track-related API functionality.
///
/// This module provides methods for retrieving, searching, and downloading tracks on the Qobuz platform.
/// It includes functionality for getting detailed track information, searching for tracks,
/// retrieving download URLs, and downloading tracks with embedded metadata.