This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Python API Envialia carrier

Project Description

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)
Release History

Release History

This version
History Node

0.0.4

History Node

0.0.3

History Node

0.0.2

History Node

0.0.1

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
envialia-0.0.4.tar.gz (19.9 kB) Copy SHA256 Checksum SHA256 Source Nov 18, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting