Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/maxjoehnk/soundcloud-rs
SoundCloud API implementation in Rust
https://github.com/maxjoehnk/soundcloud-rs
soundcloud-api
Last synced: 3 months ago
JSON representation
SoundCloud API implementation in Rust
- Host: GitHub
- URL: https://github.com/maxjoehnk/soundcloud-rs
- Owner: maxjoehnk
- License: apache-2.0
- Fork: true (mkroman/soundcloud-rs)
- Created: 2017-12-19T23:30:17.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2023-07-22T15:41:29.000Z (over 1 year ago)
- Last Synced: 2024-09-13T02:20:24.171Z (4 months ago)
- Topics: soundcloud-api
- Language: Rust
- Size: 4.64 MB
- Stars: 4
- Watchers: 3
- Forks: 3
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE-APACHE
Awesome Lists containing this project
README
# soundcloud
[![Build Status](https://travis-ci.org/maxjoehnk/soundcloud-rs.svg?branch=master)](https://travis-ci.org/maxjoehnk/soundcloud-rs)
[![Docs](https://docs.rs/soundcloud/badge.svg)](https://docs.rs/soundcloud)A Rust library for interacting with the SoundCloud HTTP API.
## Usage
Add the following to your Cargo.toml file.
```toml
[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.```rust
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](https://docs.rs/soundcloud).