forgie1/gls-soap-api
最新稳定版本:v2.0.4
Composer 安装命令:
composer create-project forgie1/gls-soap-api
包简介
GLS SOAP API
README 文档
README
APi name and Documentation:
GLS Online Api v.18.09.12.01
See PDF document in doc directory.
Usage
For Allowed endpoints see: \GlsSoapApi\GlsClient::ALLOWED_ENDPOINTS
$client = new \GlsSoapApi\GlsClient('endPoint', 'userName', 'password', 'senderId', 'testMode'); $requestData = new \GlsSoapApi\Requests\Entities\PrintLabelRequestData(); $requestData ->set ....; $request = new \GlsSoapApi\Requests\PrintLabelRequest($requestData) $response = $client->send($request);
Available Requests:
- PrintLabelRequest
- DeleteLabelsRequest
- ModifyCodRequest
TestMode
If GlsClient() is created with $testMode = true credentials and country are ignored, request is made to test server and result is logged by &logger.
Logging:
Use GlsClient::setLogger().
Web client
统计信息
- 总下载量: 3.74k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2021-10-23