asm-0.0.5
توضیحات
Python API ASM carrier
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | asm-0.0.5 |
| نام | asm |
| نسخه کتابخانه | 0.0.5 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Zikzakmedia SL |
| ایمیل نویسنده | zikzak@zikzakmedia.com |
| آدرس صفحه اصلی | https://www.zikzakmedia.com |
| آدرس اینترنتی | https://pypi.org/project/asm/ |
| مجوز | GPL-3 |
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)
نیازمندی
| مقدار | نام |
|---|---|
| - | genshi |
نحوه نصب
نصب پکیج whl asm-0.0.5:
pip install asm-0.0.5.whl
نصب پکیج tar.gz asm-0.0.5:
pip install asm-0.0.5.tar.gz