soundcloud-rs 0.14.0

A simple Rust client for the SoundCloud API
Documentation
1
2
3
4
5
6
7
8
9
10
11
use crate::{Client, models::query::AlbumQuery, models::error::Error, response::Playlists};

impl Client {
    pub async fn search_albums(
        &self,
        query: Option<&AlbumQuery>,
    ) -> Result<Playlists, Error> {
        let resp: Playlists = self.get("search/albums", query).await?;
        Ok(resp)
    }
}