library hasoffers-php-client
A clean & simple PHP Wrapper around the HasOffers API
devit/hasoffers-php-client
A clean & simple PHP Wrapper around the HasOffers API
- Monday, May 22, 2017
- by robinfranssen
- Repository
- 5 Watchers
- 2 Stars
- 2,696 Installations
- PHP
- 1 Dependents
- 0 Suggesters
- 1 Forks
- 1 Open issues
- 1 Versions
- 6 % Grown
HasOffers PHP Client
Installation
"require": {
"devit/hasoffers-php-client": "dev-master"
}
Example
$client = new DevIT\Hasoffers\Client('API_KEY', 'NETWORK_ID');
$offers = $client->api('Affiliate\Offer');
try {
$response = $offers->findAll(['limit' => 5]);
var_dump($response);
} catch (DevIT\Hasoffers\Exception $e) {
echo($e->getMessage());
}
Supported
dev-master
9999999-dev
A clean & simple PHP Wrapper around the HasOffers API
Sources
Download
MIT
The Requires
affiliate
hasoffers