Metadata-Version: 2.5
Name: waysdrop
Version: 1.0.0
Summary: Official Waysdrop Partner API SDK for Python
License-Expression: MIT
License-File: LICENSE
Keywords: api,delivery,sdk,waysdrop
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Requires-Python: >=3.9
Requires-Dist: httpx>=0.27.0
Provides-Extra: dev
Requires-Dist: pytest>=8.0.0; extra == 'dev'
Description-Content-Type: text/markdown

# waysdrop

Official Waysdrop Partner API SDK for Python.

## Install

```bash
pip install waysdrop
```

## Quickstart

```python
from waysdrop import WaysdropClient

client = WaysdropClient(api_key="wsp_staging_...", display_currency="NGN")
account = client.get_account()
client.close()
```

## Webhooks

```python
from waysdrop import verify_signature, parse_webhook

if not verify_signature(request.body, request.headers.get("x-waysdrop-signature"), API_KEY):
    return Response(status=401)
event = parse_webhook(request.body)
```

## License

MIT
