tibee/afterbuy-sdk
最新稳定版本:v1.0
Composer 安装命令:
composer require tibee/afterbuy-sdk
包简介
The AfterbuySDK provides to interact with the Afterbuy XML API
关键字:
README 文档
README
Require the bundle and its dependencies with composer:
$ composer require next-sentence/afterbuy-sdk
Usage
<?php require_once __DIR__ . './../vendor/autoload.php'; $config = array( 'userId' => 'userid', 'userPass' => 'userpass', 'partnerId' => '123456', 'partnerPass' => '123', 'errorLang' => 'en', ); $factory = new Ns\Afterbuy\Factory(); $api = $factory->createRequest($config); try { $soldItems = $api->getSoldItems(); $result = $soldItems->getResult(); var_dump($result); } catch (Exception $e) { echo $e; }
The response will be an instance of Ns\Afterbuy\Model\UpdateSoldItems\UpdateSoldItemsResponse.
Dependencies
jms/serializer- Allows you to easily serialize, and deserialize data of any complexityguzzlehttp/guzzle- Guzzle is a PHP HTTP client librarymonolog/monolog- Monolog lib
Please support - https://paypal.me/nextsentence :)
统计信息
- 总下载量: 158
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-12-12