yamu 0.1.2

An unofficial async Rust client for the Yandex Music API
Documentation
1
2
3
4
5
6
7
8
9
use super::Client;
use crate::{Result, models::AccountStatus};

impl Client {
    /// Returns current account information. Authentication is required.
    pub async fn account_status(&self) -> Result<AccountStatus> {
        self.get("account/status", &()).await
    }
}