| Crates.io | soundpad-remote-client |
| lib.rs | soundpad-remote-client |
| version | 0.2.0 |
| created_at | 2022-12-06 03:55:24.521519+00 |
| updated_at | 2022-12-06 17:17:56.141286+00 |
| description | A client for the Soundpad remote control interface |
| homepage | |
| repository | https://github.com/benthillerkus/soundpad-rs |
| max_upload_size | |
| id | 730831 |
| size | 37,061 |
Libraries for interacting with Soundpad
#[tokio::main]
async fn main -> Result<()> {
// Create a new API client
let client = ClientBuilder::new().connect()?;
// Retrieve a list with all available sounds from Soundpad
let sounds = client.get_sound_list().await?;
// Play the first sound
client.play_sound(sounds[0])
}