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
这个PHP库将帮助您与Gearbest Affiliate API进行交互。
安装
将以下行添加到您的应用的composer.json文件中
{ "require": { "stajor/gearbest-affiliate": "^2.0" } }
然后运行 composer update
或者 在您的命令行中运行此命令
$ composer require stajor/gearbest-affiliate
用法
$api = new \GearBest\API([API KEY], [API SECRET]); $coupons = $api->listCoupons(['language' => 'en']);
贡献
欢迎在GitHub上提交错误报告和拉取请求:https://github.com/Stajor/gearbest-affiliate。本项目旨在为协作提供一个安全、欢迎的空间,并期望贡献者遵守贡献者公约行为准则。
许可
该软件库作为开源软件,按照MIT许可条款提供。