Via Composer
$ composer require apivore/getcake
use Apivore\Core\Config;
$client = new Apivore\GetCake\Client();
$client->setConfig(new Config([
'domain' => 'http://f5mlogin.com/',
'affiliateId' => 'AFFILIATE_ID',
'apiKey' => 'API_KEY',
]));
try {
$response = $client->api('Offers')->offerFeed([
'campaign_name' => '',
'media_type_category_id' => 0,
'vertical_category_id' => 0,
'vertical_id' => 0,
'offer_status_id' => 0,
'tag_id' => 0,
'start_at_row' => 1,
'row_limit' => 25,
]);
dd($response);
} catch (Exception $e) {
dd($e);
}
$ composer test
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.