PHP code example of poool / subscribe-sdk
1. Go to this page and download the library: Download poool/subscribe-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/ */
poool / subscribe-sdk example snippets
use Poool\Subscribe\SDK\Client;
$client = new Client([
'clientId' => 'yourClientId',
'clientSecret' => 'yourClientSecret',
]);
var_dump($client->offers->list());
javascript
$client->offers->list(1, 10, [], [], 'active', ['sandbox' => true]);