iqu-group/has-offers-api-php-client

1.1.3 2017-06-15 08:55 UTC

README

This is a PHP client to connect to the HasOffers API.

Usage

$client = new \GuzzleHttp\Client();
$affiliateController = new \Iqu\HasOffersAPIClient\Controllers\AffiliateController($networkToken, $networkId, $client);

try {
    $response = $affiliateController->findAll();

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