clsystems / cd-api-client
Click Dealer api library
Installs: 4
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/clsystems/cd-api-client
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 }