Python API MRW carrier
Project description
Python API MRW carrier.
Features
Services
Test connection
Create/Send shipments to MRW
Get label shipment in PDF
Usage Examples
Example API in test.py file
Services
from mrw.utils import services
services()
Test connection
with API(username, password, franchise, subscriber, department, debug) as mrw_api:
print mrw_api.test_connection()
Create/send shipment to MRW
with Picking(username, password, franchise, subscriber, department, debug) as picking_api:
data = {...}
reference, error = picking_api.create(data)
Get label shipment in PDF
with Picking(username, password, franchise, subscriber, department, 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
mrw-0.0.6-py3-none-any.whl
(19.2 kB
view details)
File details
Details for the file mrw-0.0.6-py3-none-any.whl
.
File metadata
- Download URL: mrw-0.0.6-py3-none-any.whl
- Upload date:
- Size: 19.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d07b9407a24a5f27cf7d800d0e3e53e016715cfae377a5c56b300ed0917be559 |
|
MD5 | 2baf2af8aed2930b711b3d7e03e33c20 |
|
BLAKE2b-256 | 85c89524af716cbb3f25f467a0fb99bc36b1337afc221899e6a82a9997093188 |