Python API Correos express carrier.
- Services
- Test connection
- Create/Send shipments to Correos express
- Get label shipment in PDF
Example API in test.py file
.. code-block:: python
from correosexpress.utils import services
services()
.. code-block:: python
with API(username, debug) as asm_api:
print asm_api.test_connection()
.. code-block:: python
with Picking(username, debug) as picking_api:
data = {...}
reference, label, error = picking_api.create(data)
.. code-block:: python
with Picking(username, debug) as picking_api:
data = {...}
label = picking_api.label(data)