ezlocate/ezlocate-php-sdk
Composer 安装命令:
composer require ezlocate/ezlocate-php-sdk
包简介
PHP SDK for EZ Locate API v1
README 文档
README
PHP SDK for EZ Locate API.
Installation
$ composer require ezlocate/ezlocate-php-sdk
Usage
use \EZLocate\EZLocate; use \EZLocate\Order; const EZL_USERNAME = 'YOUR_EZL_USERNAME'; const EZL_ACCESS_TOKEN = 'YOUR_EZL_ACCESS_TOKEN'; $ezl = new EZLocate(EZL_USERNAME, EZL_ACCESS_TOKEN); $data = [ 'notes' => 'My order notes', 'ref' => 'XXXX', 'ref_2' => 'YYYY', 'person' => [ 'firstname' => 'John', 'lastname' => 'Doe', 'ssn' => 'XXXX' ] ]; $order = $ezl->createOrder($data); print_r($order);
License
Released under the MIT License. See LICENSE file.
统计信息
- 总下载量: 119
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2018-10-15