Skip to main content

Correos

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)

Metadata

Release files for correos 0.0.6

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

Source distribution (sdist)

Source distribution for correos 0.0.6
File Size Uploaded
correos-0.0.6.tar.gz 26.4 kB Details

Release files / correos-0.0.6.tar.gz

Download URL correos-0.0.6.tar.gz
Size 26.4 kB
Tags Source
SHA-256 checksum
How to use checksums
ed3dbe53f0ba65891f3789a03aa2d1b91ced1d32cccc75b881b96f83d14dcb28
BLAKE2b-256 checksum
How to use checksums
4e24f6c39ed521f68cec867f0a0383e8a6d320f6760c82f0531d353ff203f718
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.0.6 This release

1 release file

0.0.5

1 release file

0.0.4

1 release file

0.0.3

1 release file

0.0.2.1

1 release file

0.0.2

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