PHP code example of justmd5 / open-dataoke-sdk
1. Go to this page and download the library: Download justmd5/open-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/ */
justmd5 / open-dataoke-sdk example snippets
oke = new \Justmd5\DaTaoKe\DaTaoKe(['key' => 'your-key', 'secret' => 'your-secret','version'=>'v1.1.1']);
// 例子
$result = $dataoke->request('goods.get-goods-details', ['goodsId' => '603868557658']);