A PHP wrapper around the Click Dealer API
Install http://getcomposer.org/ and run the following command:
php composer.phar require clsystems/cd-api-client dev-master
- By apiKey / AffiliateId
$api = new CLSystems\Clickdealer\Api($apiKey, $affiliateId);
$campaigns = $api->getCampaigns(['campaign_id' => 1234]);
foreach ($campaigns as $campaign) {
// do smth with campaign
}