Skip to main content

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 Distribution

mrw-0.0.4.tar.gz (18.0 kB view hashes)

Uploaded Source

Built Distribution

mrw-0.0.4-py3-none-any.whl (6.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page