2017 © Pedro Peláez
 

library apivore-getcake

A clean & simple PHP Wrapper around the GetCake API.

image

nokimaro/apivore-getcake

A clean & simple PHP Wrapper around the GetCake API.

  • Tuesday, October 18, 2016
  • by nokimaro
  • Repository
  • 1 Watchers
  • 0 Stars
  • 5 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

GetCake PHP Client

Latest Version on Packagist ![Software License][ico-license] Build Status ![Coverage Status][ico-scrutinizer] Quality Score ![Total Downloads][ico-downloads], (*1)

Install

Via Composer, (*2)

``` bash $ composer require apivore/getcake, (*3)


## Usage ``` php 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); }

Testing

bash $ composer test, (*4)

Security

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

Credits

License

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

The Versions

18/10 2016

dev-master

9999999-dev https://github.com/Apivore/getcake

A clean & simple PHP Wrapper around the GetCake API.

  Sources   Download

MIT

The Requires

 

The Development Requires

apivore getcake