bytelovers/adcumulus-php-client

A Client for Adcumulus API

dev-master 2018-04-12 20:39 UTC

This package is not auto-updated.

Last update: 2024-04-26 22:55:13 UTC


README

A Client for Adcumulus API

This package is still in beta. Please, create a PR if you detects some error.

Installation

"require": {
    "bytelovers/adcumulus-php-client": "dev"
}

Example

$client = new Bytelovers\AdCumulus\Client(
    'API_DOMAIN',
    'API_KEY',
    'API_SECRET' //ONLY for Admin API
    );

$offer = $client->api('Admin\Offer');

try {
    $response = $offers->getById(<OFFER_ID>);

    var_dump($response);
} catch (Bytelovers\AdCumulus\Exception $e) {
    echo($e->getMessage());
}

Supported

  • Admin API
  • Affiliate API
  • Advertiser API