Python API ASM carrier
Project description
Python API ASM carrier.
Features
Services
Test connection
Create/Send shipments to ASM
Get label shipment in PDF
Usage Examples
Example API in test.py file
Services
from asm.utils import services
services()
Test connection
with API(username, debug) as asm_api:
print asm_api.test_connection()
Create/send shipment to ASM
with Picking(username, debug) as picking_api:
data = {...}
reference, label, error = picking_api.create(data)
Get label shipment
with Picking(username, debug) as picking_api:
data = {...}
label = picking_api.label(data)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
asm-0.0.5-py3-none-any.whl
(20.3 kB
view details)
File details
Details for the file asm-0.0.5-py3-none-any.whl
.
File metadata
- Download URL: asm-0.0.5-py3-none-any.whl
- Upload date:
- Size: 20.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2fd3365b933ea1691b113f4bd105f4085897925c5a53f3dba17c4a943bbb8af8 |
|
MD5 | 0feba99a635fea02d24e600a76fe6e0b |
|
BLAKE2b-256 | 9e5daaa7b991feb5ecc96bdad45a7b2cd62499e4b3fb56f15aab689860c7a209 |