Official Python SDK for Achek — WhatsApp OTP, AI chatbots & business messaging for Nigeria
Project description
achek-sdk
Official Python SDK for Achek — WhatsApp OTP, AI chatbots & business messaging for Nigerian developers.
Installation
pip install achek-sdk
Quick Start
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.
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
from achekverify import Webhooks
wh = Webhooks("your_webhook_secret")
payload = wh.verify(raw_body, signature_header)
print(payload["event"]) # e.g. "otp.verified"
Links
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
achek_sdk-1.0.0.tar.gz
(4.6 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file achek_sdk-1.0.0.tar.gz.
File metadata
- Download URL: achek_sdk-1.0.0.tar.gz
- Upload date:
- Size: 4.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f6b564425390287e0fa67290d1496260020bc0ccb3265da052f1e0430bfc1cb9
|
|
| MD5 |
be4509af2fde066687d3e5c561e2a7e1
|
|
| BLAKE2b-256 |
7fffada690f42f11a1f1a43e573c459930d786f2b5e2a4be7b8382ac92412a23
|
File details
Details for the file achek_sdk-1.0.0-py3-none-any.whl.
File metadata
- Download URL: achek_sdk-1.0.0-py3-none-any.whl
- Upload date:
- Size: 6.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
663205edee9602e48fc9ef6cd89bab1093098df60e25adb6c8d655b8d7c6ec30
|
|
| MD5 |
75233e8ec61727652e5697e0315148df
|
|
| BLAKE2b-256 |
e07b3ca56bc600979d54ce1f53b40a47ed85c04205b1caeecfa58b0efe2420f7
|