PHP code example of luban / top

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

    

luban / top example snippets




use LuBan\Top\Client;
use LuBan\Top\Requests\TbkItemInfoGetRequest;

$c = new Client();
$c->appKey = "You're appkey";
$c->secretKey = "You're appSecret";
$req = new TbkItemInfoGetRequest();
$req->setNumIids('627565398166');
$result = $c->execute($req);
var_dump($result);