stajor / gearbest-affiliate
GearBest Affiliate
2.0.3
2018-08-26 17:49 UTC
Requires
- php: >=7.1
- guzzlehttp/guzzle: ^6.3
Requires (Dev)
- phpunit/phpunit: ^6.0
- vlucas/phpdotenv: ^2.5@dev
README
This PHP library will help you to interactive with Gearbest Affiliate API.
Installation
Add this line to your application's composer.json:
{ "require": { "stajor/gearbest-affiliate": "^2.0" } }
and run composer update
Or run this command in your command line:
$ composer require stajor/gearbest-affiliate
Usage
$api = new \GearBest\API([API KEY], [API SECRET]); $coupons = $api->listCoupons(['language' => 'en']);
Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/Stajor/gearbest-affiliate. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.
License
The gem is available as open source under the terms of the MIT License.