Crates.io | spotify-client-rs |
lib.rs | spotify-client-rs |
version | 0.1.0 |
source | src |
created_at | 2024-05-25 09:10:47.634549 |
updated_at | 2024-05-25 09:10:47.634549 |
description | A util crate for Spotify Auth Client |
homepage | |
repository | |
max_upload_size | |
id | 1251858 |
size | 63,064 |
#[tokio::main]
async fn main() -> anyhow::Result<()> {
let config = &Configs::from_pass("", "");
let mut handler = ClientHandler::new();
let client = handler.client_new(config).await?;
let track_id = TrackId::from_id("6D6Pybzey0shI8U9ttRAPx")?;
let result = client.track(track_id, None).await?;
dbg!(result);
Ok(())
}