draperstudio/hasoffers-php-client

This package is abandoned and no longer maintained. No replacement package was suggested.

A HasOffers Client for PHP

0.1.0 2016-03-21 10:14 UTC

README

Latest Version on Packagist Software License Build Status Coverage Status Quality Score Total Downloads

Install

Via Composer

$ composer require draperstudio/hasoffers

Usage

$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());
}

Change log

Please see CHANGELOG for more information what has changed recently.

Testing

$ composer test

Contributing

Please see CONTRIBUTING and CONDUCT for details.

Security

If you discover any security related issues, please email hello@draperstudio.tech instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.