yandex-music

Crates.ioyandex-music
lib.rsyandex-music
version0.4.8
created_at2024-06-16 15:23:56.931963+00
updated_at2026-01-16 03:13:15.818461+00
descriptionRust wrapper for the Yandex Music API
homepage
repositoryhttps://github.com/vyfor/yandex-music-rs
max_upload_size
id1273595
size269,716
(vyfor)

documentation

README

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

Commit count: 130

cargo fmt