clsystems / cd-api-client
Click Dealer api library
0.1.3
2020-10-18 14:47 UTC
Requires
- php: >=7.2.0
- guzzlehttp/guzzle: ^7.2
README
A PHP wrapper around the Click Dealer API
Install
Install http://getcomposer.org/ and run the following command:
php composer.phar require clsystems/cd-api-client dev-master
Examples
Request campaigns
- By apiKey / AffiliateId
$api = new CLSystems\Clickdealer\Api($apiKey, $affiliateId); $campaigns = $api->getCampaigns(['campaign_id' => 1234]); foreach ($campaigns as $campaign) { // do smth with campaign }