Metadata-Version: 2.4
Name: achek-sdk
Version: 1.0.0
Summary: Official Python SDK for Achek — WhatsApp OTP, AI chatbots & business messaging for Nigeria
Project-URL: Homepage, https://achek.com.ng
Project-URL: Documentation, https://docs.achek.com.ng
Project-URL: Repository, https://github.com/CalebDevX/AchekVerify
Project-URL: Issues, https://github.com/CalebDevX/AchekVerify/issues
Author-email: Achek <dev@achek.com.ng>
License: MIT
Keywords: 2fa,achek,chatbot,nigeria,otp,verification,whatsapp
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Communications
Classifier: Topic :: Software Development :: Libraries
Requires-Python: >=3.8
Requires-Dist: requests>=2.28.0
Description-Content-Type: text/markdown

# achek-sdk

Official Python SDK for [Achek](https://achek.com.ng) — WhatsApp OTP, AI chatbots & business messaging for Nigerian developers.

## Installation

```bash
pip install achek-sdk
```

## Quick Start

```python
from achekverify import AchekConnect

client = AchekConnect("your_api_key")

# Send a WhatsApp OTP
result = client.send_otp("+2348XXXXXXXXX")
print(result["sessionId"])

# Verify the OTP the user enters
check = client.verify_otp("+2348XXXXXXXXX", otp="482910")
print(check["valid"])  # True / False

# Send a plain WhatsApp message
client.send_message("+2348XXXXXXXXX", "Hello from Achek!")
```

## Authentication

Get your API key from the [Achek dashboard](https://console.achek.com.ng).

```python
client = AchekConnect("ak_live_your_key_here")
```

## Features

- **WhatsApp OTP** — Send and verify one-time passwords via WhatsApp
- **Messaging** — Send plain and templated WhatsApp messages
- **AI Bot** — Create and manage AI chatbot agents
- **Webhooks** — Verify and parse incoming webhook events
- **Broadcasts** — Send bulk messages to multiple numbers

## Webhook Verification

```python
from achekverify import Webhooks

wh = Webhooks("your_webhook_secret")
payload = wh.verify(raw_body, signature_header)
print(payload["event"])  # e.g. "otp.verified"
```

## Links

- [Documentation](https://docs.achek.com.ng)
- [Dashboard](https://console.achek.com.ng)
- [GitHub](https://github.com/CalebDevX/AchekVerify)
- [Support](https://achek.com.ng/support)

## License

MIT
