ASM
===

Python API ASM carrier.

Features
--------

- Services
- Test connection
- Create/Send shipments to ASM
- Get label shipment in PDF

Usage Examples
--------------

Example API in test.py file

Services
--------

.. code-block:: python

    from asm.utils import services
    services()

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

.. code-block:: python

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

Create/send shipment to ASM
---------------------------

.. code-block:: python

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

Get label shipment
------------------

.. code-block:: python

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