Metadata-Version: 2.1
Name: seurvalencia
Version: 0.0.4
Summary: Python API Seur Valencia carrier
Home-page: https://www.zikzakmedia.com
Author: Zikzakmedia SL
Author-email: zikzak@zikzakmedia.com
License: GPL-3
Download-URL: https://bitbucket.org/zikzakmedia/python-seurvalencia
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Web Environment
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: GNU Affero General Public License v3
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Dist: genshi

Seur Valencia
=============

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
--------

.. code-block:: python

    from seur.utils import services
    services()

Test connection
---------------

.. code-block:: python

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

Get Cities
----------

.. code-block:: python

    with API(username, password, debug) as seurvalencia_api:
        print seurvalencia_api.get_city('08720')

Create/send shipment to Seur Valencia
-------------------------------------

.. code-block:: python

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

Get today deliveries (shipments) in PDF
---------------------------------------

.. code-block:: python

    with Picking(username, password, debug) as picking_api:
        pdf = picking_api.info()


