Skip to content

vyfor/yandex-music-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

151 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

yandex-music-rs crates badge docs badge

A wrapper around the Yandex Music API in Rust. Made exclusively for educational purposes only. Not affiliated with Yandex in any way.

Installation

cargo add yandex-music

Usage

use 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.

Acknowledgements

Packages

 
 
 

Contributors

Languages