Skip to main content

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.

Files for asm, version 0.0.4
Filename, size File type Python version Upload date Hashes
Filename, size asm-0.0.4-py3-none-any.whl (8.0 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size asm-0.0.4.tar.gz (18.3 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page