soundpad-remote-client

Crates.iosoundpad-remote-client
lib.rssoundpad-remote-client
version0.2.0
sourcesrc
created_at2022-12-06 03:55:24.521519
updated_at2022-12-06 17:17:56.141286
descriptionA client for the Soundpad remote control interface
homepage
repositoryhttps://github.com/benthillerkus/soundpad-rs
max_upload_size
id730831
size37,061
Bent Hillerkus (benthillerkus)

documentation

README

soundpad-rs

Libraries for interacting with Soundpad

Usage

#[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])
}

Crates

Commit count: 52

cargo fmt