Skip to content

ewarehousing-solutions/ewhs-api-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

70 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

eWarehousing Solutions Python Library

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

CI PyPI

Documentation

https://api.docs.ewarehousing-solutions.com/

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 pytest

Support

www.ewarehousing-solutions.nlinfo@ewarehousing-solutions.nl