wizishop/wizishop-php-sdk
Composer 安装命令:
composer require wizishop/wizishop-php-sdk
包简介
WiziShop API SDK
README 文档
README
WiziShop PHP SDK
A PHP SDK (Software Development Kit) for the WiziShop RESTful API https://api.wizishop.com
Installation
Get composer
composer require wizishop/wizishop-php-sdk
Usage
Create a new user on Wizishop Admin
<?php require_once __DIR__ . '/../vendor/autoload.php'; use WiziShop\SDK\Exception\ApiException; use GuzzleHttp\Exception\TransferException; use WiziShop\SDK\ApiClientFactory; try { $wizishop = ApiClientFactory::authenticate('username', 'password'); $orders = $wizishop->getOrders(); // ... } catch (ApiException $e) { echo $e->getErrorMessage(); } catch (TransferException $e) { echo $e->getMessage(); }
Tests
./bin/phpunit
Issue Reporting
If you have found a bug or if you have a feature request, please report them at this repository issues section. Please do not report security vulnerabilities on the public GitHub issue tracker.
Contributing
Author
License
This project is licensed under the MIT license. See the LICENSE file for more info.
统计信息
- 总下载量: 96
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 3
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2016-01-11