This library provides convenient access to the eWarehousing Solutions API from applications written in the Python language.
https://api.docs.ewarehousing-solutions.com/
pip install ewhs-api-python
- Python 3.7+
from ewhs.client import EwhsClient
client = EwhsClient(...)
# list orders
orders = client.order.list()
# get order
order = client.order.get(id)
# create order
order = client.order.create({
"external_reference": "EXAMPLE_ORD_001",
# ...
})
This project is managed using the tool Poetry. Poetry is a tool for dependency management and packaging in Python.
Make sure to install Poetry
curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python -
Install dependencies
poetry install
Running tests
poetry run pytest
www.ewarehousing-solutions.nl — info@ewarehousing-solutions.nl