PHP code example of taodouke / openapi

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

    

taodouke / openapi example snippets




  $client = new LiveLink();
  $client->setAppKey('5515796');
  $client->setAppSecret('xxxxx');
  $res = $client->setParams([
      'author_buyin_id' => '6961635340667240734',
      'share_type'=>[1,2,3,4]
  ])->request();
  var_dump($res);