SDK Downloads
Official PHP, Python and Java SDKs are open source on GitHub and Gitee — single file, zero dependencies. PHP 7.1+ needs curl, Python 3.7+ uses the standard library, and Java targets JDK 11 or later, including 17 and 21. Copy the source into your project. Signing, rate-limit backoff and API errors are handled without third-party dependencies. Language signing samples are also available below.
What do the SDKs cover?#
Complete order API support#
PHP, Python and Java cover ocean, air, express and FBA creation, plus options, details (including visible bills), saved tracking, updates and voiding: 9 endpoints, all at 0 credits.
Order parameters and examplesFCL surcharge billing basis#
charge_unit and singleprice are preserved. CONTAINER is per container, BILL is counted once, and MIXED combines both. Confirm UNKNOWN before calculating, and total currencies separately.
Surcharge fields and billing rulesOpen source on GitHub / Gitee#
PHP, Python and Java clients, runnable examples and bilingual documentation. GitHub is the primary repository; Gitee is the mirror for mainland China. MIT licensed.
GitHub primary repository
https://github.com/HJP957547207/awice-openapi-sdkgit clone https://github.com/HJP957547207/awice-openapi-sdk.gitGitee mirror for mainland China
https://gitee.com/baige95/awice-openapi-sdkgit clone https://gitee.com/baige95/awice-openapi-sdk.gitPHP Sample#
Complete HMAC-SHA256 signing + curl call sample, copy & run. Can be wrapped into an internal SDK.
View full PHP samplePython Sample#
Signing helper and request example using requests + hmac standard libraries.
View Python signing helperNode.js Sample#
Signing helper based on built-in crypto + https modules, runs on Node 12+.
View Node signing helperGo Sample#
Signing helper struct using crypto/hmac + crypto/sha256, copy directly into your project.
View Go signing helperJava Sample (JDK 11+)#
HMAC-SHA256 signing with JDK standard libraries, compatible with JDK 11, 17 and 21.
View Java signing sampleOfficial PHP SDK#
Single file, zero dependencies; PHP 7.1+ with just the curl extension. Handles HMAC signing, QPS backoff and retry, and ambiguous port candidates — errors tell you what to do next.
View PHP SDK sourceView source on GiteeOfficial Python SDK#
Single file, zero dependencies; Python 3.7+ standard library only — not even requests. Same feature set as the PHP client, with request_id and port candidates on the exception.
View Python SDK sourceView source on GiteeOfficial Java SDK (JDK 11+)#
Single file, no third-party dependencies. Rates, dictionaries, schedules and four order types; signing, rate-limit retries, request IDs and validation details included.
View Java SDK sourceView source on GiteeDownload AwiceClient.javaPostman Collection#
Rates, dictionaries, schedules and 9 order endpoints, with automatic signing. Import and set your own credentials. Create, update and void requests affect real orders.
Download Postman collectionOnline Debugger#
Sandbox tool with no identity verification and no charge. Call any endpoint in the browser to verify signatures.
Open Online DebuggerMore languages#
PHP, Python and Java source SDKs are available. Further releases depend on demand:
- Publish the Java SDK to Maven Central (source is available now)
- Node.js / TypeScript SDK (npm)
- Go SDK
- Publish to Packagist / PyPI for composer require and pip install
If you need Go / .NET / Ruby SDKs, submit a request on the Contact Us page.
Recommended Learning Path#
- Start with Quick Start, copy the complete PHP sample, and make your first successful call
- Then read Auth & Signature to understand the signing algorithm and adapt the sample into your project's internal wrapper
- Look up whichever endpoint you need:FCL/LCL/AIR/EXPRESS
- When errors occur, consult Error Codes to pinpoint the issue. Still stuck? File a ticket with the request_id