openwebx / php-kodaksmarthome
基于 PHP 访问 Kodak Smarthome
1.3.0
2020-05-07 08:08 UTC
Requires
- php: >=7.4.0
- ext-json: *
- nategood/httpful: ^0.3.2
This package is auto-updated.
Last update: 2024-09-07 18:33:00 UTC
README
基于 PHP 访问 Kodak Smarthome API
感谢 https://github.com/kairoaraujo/python-kodaksmarthome 的工作!
一切应该都是“开箱即用”。只需用您的凭据初始化类
$ksh = new phpKodakSmarthome('myUser', 'myPassword');
现在您可以直接访问各种信息
$devices = $ksh->getDevices();
$events = $ksh->getEvents();