PHP code example of clsystems / cd-api-client
1. Go to this page and download the library: Download clsystems/cd-api-client 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/ */
clsystems / cd-api-client example snippets
$api = new CLSystems\Clickdealer\Api($apiKey, $affiliateId);
$campaigns = $api->getCampaigns(['campaign_id' => 1234]);
foreach ($campaigns as $campaign) {
// do smth with campaign
}