eWarehousing Solutions Python Library

This library provides convenient access to the eWarehousing Solutions API from applications written in the Python language.

CI

Documentation

— Work in progress —

Installation

pip install ewhs-api-python

Requirements

  • Python 3.7+

Usage

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",
    # ...
})

Development

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 pytests

Support

[email protected]

GitHub

View Github