A wrapper around the Yandex Music API in Rust. Made exclusively for educational purposes only. Not affiliated with Yandex in any way.
cargo add yandex-musicuse yandex_music::YandexMusicClient;
#[tokio::main]
async fn main() -> Result<(), Box<dyn std::error::Error>> {
// Replace "TOKEN" with your Yandex Music access token
let client = YandexMusicClient::builder("TOKEN").build()?;
// Example usage
let status = client.get_account_status().await?;
println!("Account status: {status:?}");
Ok(())
}Note
You may also want to take a look at yamusic.