PHP code example of justmd5 / duoduoke-sdk

1. Go to this page and download the library: Download justmd5/duoduoke-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 / duoduoke-sdk example snippets



use Justmd5\DuoDuoKe\DuoDuoKe;

xxx69e3940c6b93xxxxxx',
    'secret' => 'c2eda0c398xxxxxxbd63ff57bf22c05xxxxxx',
    'debug'  => false
];
$duoduoke = new DuoDuoKe($config);


$result   = $duoduoke->request('pdd.ddk.goods.detail', ['goods_id_list' => ['395581006']]);