Skip to content

JackSW/hasoffers-php-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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