longnz / hasoffers-php-client

Clone of https://packagist.org/packages/draperstudio/hasoffers-php-client

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

HasOffers PHP Client

Installation

"require": {
    "draperstudio/hasoffers-php-client": "~1.0"
}

Example

$client = new DraperStudio\HasOffers\Client('API_KEY', 'NETWORK_ID');

$offers = $client->api('Affiliate\Offer');

try {
    $response = $offers->findAll(['limit' => 5]);

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

Supported

  • Affiliate API
  • Brand API
  • FurtherMobi
  • YeahMobi

About

Clone of https://packagist.org/packages/draperstudio/hasoffers-php-client

License:The Unlicense


Languages

Language:PHP 100.0%