Module content

Module content 

Source
Expand description

Content modules for the Qobuz API.

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

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(())
}

Modules§

albums
Qobuz API content modules.
artists
Artist-related API functionality.
catalog
Catalog-related API functionality.
labels_and_articles
Label and article-related API functionality.
playlists
Playlist-related API functionality.
tracks
Track-related API functionality.