Metadata-Version: 2.4
Name: nm-wms-sdk
Version: 1.2.0
Summary: Official zero-dependency Python client for the NM WMS Client API
Author: NM WMS
License: Proprietary
Requires-Python: >=3.10
Description-Content-Type: text/markdown

# NM WMS Python SDK

Official zero-dependency client for the NM WMS Client API.

```python
from nm_wms_sdk import NmWmsClient

client = NmWmsClient("nmwms_live_...")
for order in client.iter_orders():
    print(order["reference"], order["status"])
```

The API key is sent only in the `X-API-Key` header. The default transport accepts
HTTPS only, refuses redirects, limits response bodies to 10 MiB, and never includes
the key in exception text or `repr(client)`.

Available calls:

- `list_orders()`, `iter_orders()` — requires `orders:read`
- `list_shipments()`, `iter_shipments()` — requires `orders:read`
- `list_inventory()`, `iter_inventory()` — requires `inventory:read`
- `create_order()` — requires `orders:write` and an `Idempotency-Key`

Each `list_*` method returns a page with `data` and `next_after_id`. Iterators follow
that cursor and reject non-advancing/cyclic cursors. A `429` raises
`RateLimitError` with the parsed `retry_after` value; the SDK does not retry
automatically, so callers retain control over workload timing.
