lifx 0.1.0 copy "lifx: ^0.1.0" to clipboard
lifx: ^0.1.0 copied to clipboard

outdatedDart 1 only

A simple library to interact with LIFX lights.

dart_lifx #

Another attempt at a LIFX library, this time written in Dart.

var lifx = new LIFX("api_key_here");
  • Be sure to run pub get before attempting to use.

Methods #

All methods contain optional light parameter, by default all lights are selected. Pass light ID, found with getLights() to control individual lights.

Future<Map> getLights([String light = "all"])
Future<bool> togglePower([String light = "all"]) 
0
likes
0
pub points
0%
popularity

Publisher

unverified uploader

A simple library to interact with LIFX lights.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

convert, http, json_object, unittest

More

Packages that depend on lifx