| Crates.io | soundcloud |
| lib.rs | soundcloud |
| version | 0.4.0 |
| created_at | 2016-05-26 18:09:31.147405+00 |
| updated_at | 2020-06-03 18:39:51.496146+00 |
| description | SoundCloud API implementation in Rust |
| homepage | |
| repository | https://github.com/maxjoehnk/soundcloud-rs |
| max_upload_size | |
| id | 5193 |
| size | 111,375 |
A Rust library for interacting with the SoundCloud HTTP API.
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.