lifx-http-api
lifx-http-api copied to clipboard
:bulb: Thin wrapper around the Lifx HTTP API (http://api.developer.lifx.com/)
The current version of this package published on NPM doesn't include the most recent fixes, including [this one](https://github.com/klarstil/lifx-http-api/commit/ee60ab0253c5195ae0325241913b4ee23d60cb95).
Bumps [codecov](https://github.com/codecov/codecov-node) from 1.0.1 to 3.7.1. Release notes Sourced from codecov's releases. v3.6.4 Fix for Cirrus CI v3.6.3 AWS Codebuild fixes + package updates v3.6.2 command line args sanitised v3.6.1...
`activateScene` does not invoke the LIFX Activate Scene API Endpoint. Rather it invokes the LIFX Cycle API Endpoint. Activate Scene API Endpoint is `https://api.lifx.com/v1/scenes/scene_id::scene_uuid/activate` Cycle API Endpoint is `https://api.lifx.com/v1/lights/:selector/cycle`
The `validateColor` method always returns a 404. The underlying LIFX API uses **GET** and the query string `string`. The `validateColor` method uses **PUT** and the query string `color`.
This way, the package can be used in Typescript projects. It also should add Intellisense support for VSCode in JS or TS.