telldus-api:Telldus Live和Telldus Local API的Node.js接口

时间:2021-05-03 01:50:49
【文件属性】:
文件名称:telldus-api:Telldus Live和Telldus Local API的Node.js接口
文件大小:25KB
文件格式:ZIP
更新时间:2021-05-03 01:50:49
api home-automation remote-control tellstick telldus-live Telldus-api 和Node.js接口。 由于它们的API相似,因此我增加了对两者的支持。 所有API方法均基于Promise。 LiveApi和LocalApi都从具有相同方法的相同类Api继承。 但是,并非所有方法都在LocalApi上实现或有意义。 安装 npm install telldus-api 实时使用 您将需要一个具有配置的设备和OAuth令牌的Telldus Live帐户。 登录到您的真实帐户,访问并Generate a private token for my user only 。 const { LiveApi } = require('telldus-api'); const api = new LiveApi({ key: '...', // publicKey secret: '...', // privateKey tokenKey:
【文件预览】:
telldus-api-master
----.gitignore(13B)
----.eslintrc(156B)
----package.json(602B)
----LICENSE(1KB)
----index.js(6KB)
----.github()
--------FUNDING.yml(60B)
----README.md(2KB)
----example.js(808B)
----yarn.lock(49KB)

网友评论