【文件属性】:
文件名称:LittleBits-CloudBit-PHP-API-Wrapper:用于 cloudBit API 的简单 PHP 包装器
文件大小:3KB
文件格式:ZIP
更新时间:2021-06-03 11:28:30
PHP
LittleBits-CloudBit-API-PHP-Wrapper
用于 cloudBit API 的简单 PHP 包装器。
使用 PHP 功能轻松向您的 cloudBit 发送命令
与 Yahoo Weather API 和 New Relic 的集成
###用法 :
<?php
include 'cloudBit.php' ;
//send command to CloudBit example:
$ cloudBitKey = 'YOUR-CLOUDBIT-KEY' ;
$ deviceId = 'YOUR-CLOUDBIT-ID' ;
$ durationInMillis = 6000 ; // max is 32000
$ value = 99 ; //(this is the value sent to the bit 0-100)
sendToCloudBit (
【文件预览】:
LittleBits-CloudBit-PHP-API-Wrapper-master
----newRelic.php(2KB)
----README.md(1KB)
----cloudBit.php(561B)
----yahooWeather.php(785B)