NOTE: This library is currently a WIP and therefore unstable, and should not be used for any production environments.
A dart implementation of the LIFX HTTP API. This package also provides classes for LIFX devices and device properties.
A CLI REPL is available at bin/cli.dart
.
You'll need a LIFX Personal Access Token to interact with the LIFX HTTP API. You can generate one with your LIFX Cloud account here: https://cloud.lifx.com/settings
See example/main.dart
on how to pass this token to the dart client.
This library also ships with a command line REPL to use the library. To use it:
cp .env.example .env
dart run bin/cli.dart
help
in the REPL to get a list of available commands.