Python API Seur Valencia carrier
Project description
Python API Seur Valencia carrier, Spain.
Seur Valencia use API methods not equal than Seur (general).
Features
Services
Test connection
Get cities by zio
Create/Send shipments to Seur Valencia
Get today deliveries (shipments) in PDF
Usage Examples
Example API in test.py file
Services
from seur.utils import services
services()
Test connection
with API(username, password, debug) as seurvalencia_api:
print seurvalencia_api.test_connection()
Get Cities
with API(username, password, debug) as seurvalencia_api:
print seurvalencia_api.get_city('08720')
Create/send shipment to Seur Valencia
with Picking(username, password, debug) as picking_api:
data = {...}
reference, label, error = picking_api.create(data)
Get today deliveries (shipments) in PDF
with Picking(username, password, debug) as picking_api:
pdf = picking_api.info()
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
seurvalencia-0.0.1.tar.gz
(24.0 kB
view hashes)