3 releases (breaking)

0.4.0 Jun 3, 2020
0.3.0 May 18, 2020
0.1.0 May 26, 2016

#10 in #client-id

MIT/Apache

42KB
815 lines

soundcloud

Build Status Docs

A Rust library for interacting with the SoundCloud HTTP API.

Usage

Add the following to your Cargo.toml file.

[dependencies]
soundcloud = "0.4"

To use this crate you need a client id. Soundcloud currently doesn't allow signup for their api so you need to use an existing client id.

use soundcloud::Client;

#[tokio::main]
async fn main() {
    let client_id = std::env::var("SOUNDCLOUD_CLIENT_ID").unwrap();
    let client = Client::new(&client_id);
    // ...
}

API Usage is documented on docs.rs.


lib.rs:

SoundCloud API library

This soundcloud library provides an interface where you can query soundcloud for information about tracks and users.

Dependencies

~5–10MB
~188K SLoC