3.0.0 • Published 4 years ago

bs-sonos v3.0.0

Weekly downloads
-
License
MIT
Repository
-
Last release
4 years ago

bs-sonos

Build Status

BuckleScript bindings for sonos used to control one or more Sonos speakers.

Example

open Methods;

/* Connect to a Sonos speaker using its IP */
let device = Device.make("192.168.0.1");

/* Queue a track and start playing it */
Js.Promise.(
  device->Queue.asLast("spotify:track:4fK6E2UywZTJIa5kWnCD6x")
  |> then_(_ => device->PlayerControl.play())
);

For all available methods, see src/Methods.re and for all response parser see src/Decode.re

Projects using bindings

Add yours if you are using the bindings

3.0.0

4 years ago

2.1.0

5 years ago

2.0.0

5 years ago

1.0.0

5 years ago

0.1.1

5 years ago

0.1.0

5 years ago