PHP code example of wsy / datapoint-sdk

1. Go to this page and download the library: Download wsy/datapoint-sdk library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

wsy / datapoint-sdk example snippets


// 添加依赖包
composer 
rquire_once 'vendor/autoload.php';
// 创建对象
$dataPoint = new WsySDK\DataPoint\DataPoint('Uri', 'Secret');