Skip to main content

Python API Correos carrier

Project description

Python API Correos carrier.

Features

  • Services
  • Test connection
  • Create/Send shipments to Correos
  • Get label shipment in PDF

Usage Examples

Example API in test.py file

Services

from correos.utils import services
services()

Test connection

with API(username, password, code, debug) as correos_api:
    print correos_api.test_connection()

Oficinas

Get Correos offices by zip

with API(username, password, code, debug) as correos_api:
    zip = '08720'
    print correos_api.oficinas(zip)

Create/send shipment to Correos

with Picking(username, password, code, debug) as picking_api:
    data = {...}
    reference, label, error = picking_api.create(data)

Get label shipment

with Picking(username, password, code, debug) as picking_api:
    data = {...}
    label = picking_api.label(data)

Project details


Release history Release notifications

This version
History Node

0.0.6

History Node

0.0.5

History Node

0.0.4

History Node

0.0.3

History Node

0.0.2.1

History Node

0.0.2

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
correos-0.0.6.tar.gz (26.4 kB) Copy SHA256 hash SHA256 Source None Mar 21, 2018

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page