Swiftpack.co - jnewc/Hue as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by jnewc.
jnewc/Hue 2.0.3
💡 A Philips Hue library written in Swift, using Combine framework
⭐️ 16
🕓 4 years ago
.package(url: "https://github.com/jnewc/Hue.git", from: "2.0.3")

Hue

A Philips Hue client library written in Swift.

Usage

Example:

let hue = Hue(bridgeURL: "https://...", username: "A1B2C3...")
let subscription = hue.lights().sink { lights in
  // Do something with lights
}

See docs for other APIs.

GitHub

link
Stars: 16
Last commit: 4 years ago
Advertisement: IndiePitcher.com - Cold Email Software for Startups

Release Notes

4 years ago

Remove debug prints

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics