UNPKG
node-hue-api
Version:
latest (5.0.0-beta.16)
next (5.0.0-beta.1)
v4-next (4.0.9-rc1)
5.0.0-beta.16
5.0.0-beta.15
5.0.0-beta.14
5.0.0-beta.13
5.0.0-beta.11
5.0.0-beta.10
5.0.0-beta.9
5.0.0-beta.8
5.0.0-beta.7
5.0.0-beta.6
5.0.0-beta.4
5.0.0-beta.3
5.0.0-beta.2
5.0.0-beta.1
5.0.0-alpha.2
5.0.0-alpha.1
4.0.11
4.0.10
4.0.9
4.0.9-rc1
4.0.8
4.0.7
4.0.6
4.0.5
4.0.5-0
4.0.4
4.0.3
4.0.3-alpha.1
4.0.2
4.0.2-alpha.1
4.0.1
4.0.0
4.0.0-beta.1
4.0.0-alpha-3
4.0.0-alpha-2
4.0.0-alpha-1
4.0.0-alpha
3.4.3
3.4.2
3.4.1
3.4.0
3.3.2
3.3.1
3.3.0
3.2.1
3.2.0
3.1.4
3.1.3
3.1.2
3.1.1
3.1.0
3.0.0
3.0.0-alpha.2
3.0.0-alpha.1
2.4.6
2.4.5
2.4.4
2.4.3
2.4.2
2.4.1
2.4.0
2.3.0
2.2.0
2.1.1
2.1.0
2.0.1
2.0.0
2.0.0-RC1
1.2.1
1.2.0
1.1.2
1.1.1
1.1.0
1.0.5
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0
0.2.7
0.2.6
0.2.5
0.2.4
0.2.3
0.2.2
0.2.1
0.2.0
0.1.4
0.1.3
0.1.2
0.1.1
0.1.0
Philips Hue API Library for Node.js
github.com/peter-murray/node-hue-api
peter-murray/node-hue-api
node-hue-api
/
dist
/
esm
/
api
/
http
/
ApiDefinition.js
15 lines
(14 loc)
•
313 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
export
class
ApiDefinition
{
constructor
(hueApi) {
this
._hueApi = hueApi; } execute(api, parameters) {
return
this
.transport.execute(api, parameters); }
get
hueApi() {
return
this
._hueApi; }
get
transport() {
return
this
.hueApi._getTransport(); } }