mnib-dev/urgentcargus
最新稳定版本:v0.9.12
Composer 安装命令:
composer require mnib-dev/urgentcargus
包简介
A very simple PHP Wrapper for the UrgentCargus API
README 文档
README
The API is RESTful JSON over HTTP using GuzzleHttp as a HTTP client.
Usage example
$client = new \MNIB\UrgentCargus\Client($apiKey, $apiUri); $client->createAccessToken('username', 'password'); $result = $client->get('PickupLocations'); $params = [ 'Sender' => [], 'Recipient' => [], 'Parcels' => 1, 'TotalWeight' => 1, 'DeclaredValue' => 1000, 'CashRepayment' => 1000, 'BankRepayment' => 0, 'OpenPackage' => true, 'SaturdayDelivery' => false, 'PackageContent' => 'awb content', 'CustomString' => $orderId, ]; $awbId = $client->post('Awbs', $params);
Official UrgentCargus Documentation
统计信息
- 总下载量: 14.16k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 7
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-01-04