1 unstable release
0.1.0 | May 25, 2024 |
---|
#914 in Audio
61KB
1.5K
SLoC
A simplified crate of Spotify Auth Client
Usage
#[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(())
}
Dependencies
~29–44MB
~697K SLoC