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.

Source Distribution

asm-0.0.2.tar.gz (22.2 kB view details)

Uploaded Source

File details

Details for the file asm-0.0.2.tar.gz.

File metadata

  • Download URL: asm-0.0.2.tar.gz
  • Upload date:
  • Size: 22.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for asm-0.0.2.tar.gz
Algorithm Hash digest
SHA256 848a6d3bb37939b37c8835af94898bd06cd21758cc871b28140015f43e728a86
MD5 1b4c7516854291c3d135e5a12614f583
BLAKE2b-256 d98665168c3a2be7a492833c72f53e4e5a83d6876869e850a4490e963f68443f

See more details on using hashes here.

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