PHP code example of wxm / dataoke-sdk

1. Go to this page and download the library: Download wxm/dataoke-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/ */

    

wxm / dataoke-sdk example snippets




use Dataoke\Application;

$dataoke = new Application('app_key', 'secret_key', 'v1.2.4');

// 例如 api/goods/get-goods-details, 其他接口同理
$dataoke->goods->getGoodsDetails(521383533703);