Skip to main content

A very simple client for OCA's web services.

Project description

This library is a very simple client to OCA’s Epak webservice. OCA’s WS is very SOAP-like, so this is really a very light wrapper around zeep, manually parsing responses that aren’t entirely SOAP.

Usage example:

response = OcaClient().Tarifar_Envio_Corporativo(
    PesoTotal=0.5,  # kg
    VolumenTotal=0.125,  # m³

The OcaClient class exposes the same methods as those in the official documentation, with the same parameters. Responses are python dictionaries, eg:

    'tarifador': '15',
    'precio': '237.7900',
    'idtiposervicio': '1',
    'ambito': 'Local',
    'plazoentrega': '3',
    'adicional': '0.0000',
    'total': '237.7900',


This software is licensed under the ISC licence. See LICENCE for details.

Copyright (c) 2017-2018 Hugo Osvaldo Barrera <>

Project details

Download files

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

Files for ocaclient, version 0.6.2
Filename, size File type Python version Upload date Hashes
Filename, size ocaclient-0.6.2-py3-none-any.whl (7.4 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size ocaclient-0.6.2.tar.gz (10.9 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page