wienkit/beslist-order-api-php-client
最新稳定版本:1.0.5
Composer 安装命令:
composer require wienkit/beslist-order-api-php-client
包简介
Beslist.nl Order API client PHP
关键字:
README 文档
README
This is an open source PHP client for the Beslist.nl Order API.
Installation
Get it with composer
Run the command:
composer require wienkit/beslist-order-api-php-client
Example: get orders
<?php require __DIR__ . '/vendor/autoload.php'; $personalKey = '-- ENTER YOUR PUBLIC KEY --'; $shopId = '-- ENTER YOUR SHOP ID --'; $clientId = '-- ENTER YOUR CLIENT ID --'; $this->client = new Wienkit\BeslistOrdersClient\BeslistOrdersClient($personalKey, $shopId, $clientId); $this->client->setTestMode(true); // Retrieve all data $cart = $this->client->getShoppingCartData('2016-01-01', '2016-01-02'); var_dump($cart); // Get the orders $orders = $cart->shopOrders; var_dump($orders);
See the tests folder for more information
统计信息
- 总下载量: 17.05k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 4
- 点击次数: 3
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2016-06-05