soerbv/shipsgo
最新稳定版本:v1.0.0
Composer 安装命令:
composer require soerbv/shipsgo
包简介
A PHP Client for ShipsGo API
README 文档
README
PHP Client for the ShipsGo API
Install via composer:
composer require soerbv/shipsgo
Usage:
Set client:
$client = new Client($authCode);
Create a tracking request with BL:
$client->createTrackingWithBl('CONTAINER_NUMBER', 'SHIPPING_LINE', 'EMAIL_ADDRESS', 'REFERENCE_NO', 'BL_CONTAINERS_REF');
Create a tracking request with Container Number:
$client->createTrackingWithContainerNumber('CONTAINER_NUMBER', 'SHIPPING_LINE', 'EMAIL_ADDRESS', 'REFERENCE_NO');
Get Voyage Data:
$data = $client->getVoyageData('CONTAINER_NUMBER'); print_r(json_decode($data));
Endpoints
The following endpoints are supported:
- PostCustomContainerFormWithBl
- PostCustomContainerForm
- GetContainerInfo
统计信息
- 总下载量: 2.57k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-02-09