Skip to main content

Python API Envialia carrier.

Features

  • Services

  • Test connection

  • List all shipments (by date)

  • Create/Send shipments to Envialia

  • Get shipment info (details)

  • Get shipment state

  • Delete shipment

Usage Examples

Example API in test.py file

Services

from envialia.utils import services
services()

Test connection

with API(agency, customer, password, debug) as envialia_api:
     envialia_api.test_connection()

List all shipments by date

with Picking(agency, customer, password, debug) as picking_api:
    date = None  # date YYYY/MM/DD
    print picking_api.list(date)

Create/Send shipments to Envialia

with Picking(agency, customer, password, debug) as picking_api:
    data = {...}
    reference = picking_api.create(data)

Get shipment info (details)

with Picking(agency, customer, password, debug) as picking_api:
    reference = '123456'
    data = {}
    data['agency_origin'] = agency
    data['agency_cargo'] = agency
    picking_api.info(reference, data)

Get shipment state

with Picking(agency, customer, password, debug) as picking_api:
    reference = '123456'
    data = {}
    data['agency_origin'] = agency
    data['agency_cargo'] = agency
    picking_api.state(reference, data)

Delete shipment

with Picking(agency, customer, password, debug) as picking_api:
    reference = '123456'
    data = {}
    data['agency_origin'] = agency
    data['agency_cargo'] = agency
    picking_api.delete(reference, data)

Metadata

Release files for envialia 0.0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for envialia 0.0.4
File Size Uploaded
envialia-0.0.4.tar.gz 19.9 kB Details

Release files / envialia-0.0.4.tar.gz

Download URL envialia-0.0.4.tar.gz
Size 19.9 kB
Tags Source
SHA-256 checksum
How to use checksums
3fea23fa8c0a597d8a3b5722ee54f403e42e9af0697ef63dd38b2ad01d8d08fa
BLAKE2b-256 checksum
How to use checksums
0ca314fb03b3fad2f6345eefec612c78945f1690522784162b82d3cc6f654b19
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.0.4 This release

1 release file

0.0.3

1 release file

0.0.2

1 release file

0.0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page