Simplified Python SDK for WhatsApp Business Cloud API
Project description
WhatsApp Biz
Simplified Python SDK for WhatsApp Business Cloud API
waclient is a clean, easy-to-use Python wrapper for the WhatsApp Business Cloud API. It handles authentication, message composition (text, media, interactive), and media management, allowing you to build WhatsApp bots and integrations quickly.
Features
- Easy Authentication: Simple client initialization.
- Rich Messaging: Send Text, Image, Video, Audio, Document, Sticker, Location, and Contact messages.
- Interactive Elements: Support for Reply Buttons and List Messages.
- Templates: Full support for WhatsApp Template Messages.
- Media Handling: Upload and retrieve media easily.
Installation
pip install waclient
Quick Start
from waclient import WhatsAppClient
client = WhatsAppClient(
phone_number_id="YOUR_PHONE_ID",
access_token="YOUR_ACCESS_TOKEN"
)
client.messages.send_text(to="15551234567", body="Hello form WhatsApp Biz!")
Documentation
- User Manual: Detailed verification of all features, code examples, and configuration.
- Developer Guide: Setup for contributors, running tests, and project structure.
Examples
Check the examples/ directory for ready-to-run scripts:
examples/verify_features.py: comprehensive tour of features.examples/verify_delivery.py: delivery status verification.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Author
Surenthar
Email: surentharsenthilkumar2003@gmail.com
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
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 waclient-0.1.3.tar.gz.
File metadata
- Download URL: waclient-0.1.3.tar.gz
- Upload date:
- Size: 20.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cd55806345e6187aa1550a32dbbd43b96237092f9151a7cea146a503e152738e
|
|
| MD5 |
625c50ad25f0cf33a7086e0414d98310
|
|
| BLAKE2b-256 |
7c188dd318d05f27a4536e8f47dfac91ab685c8869f49310b67e7d624b117c63
|
Provenance
The following attestation bundles were made for waclient-0.1.3.tar.gz:
Publisher:
workflow.yml on surenthars/waclient
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
waclient-0.1.3.tar.gz -
Subject digest:
cd55806345e6187aa1550a32dbbd43b96237092f9151a7cea146a503e152738e - Sigstore transparency entry: 768290465
- Sigstore integration time:
-
Permalink:
surenthars/waclient@bd38957926b9283db1ef998827a46847ecdc5382 -
Branch / Tag:
refs/tags/v0.1.5 - Owner: https://github.com/surenthars
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
workflow.yml@bd38957926b9283db1ef998827a46847ecdc5382 -
Trigger Event:
push
-
Statement type:
File details
Details for the file waclient-0.1.3-py3-none-any.whl.
File metadata
- Download URL: waclient-0.1.3-py3-none-any.whl
- Upload date:
- Size: 22.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1ce63709d8c17dc31fa6e06d27ccf9a87dd4428ea0f203fea794e7c092f64e54
|
|
| MD5 |
28f1f1e2548276be7a1a1b9ebb5a91b5
|
|
| BLAKE2b-256 |
8007b477eb30db0b6c3d9ccb0f74373d3409ac788a283671c2f5ecabb17833e9
|
Provenance
The following attestation bundles were made for waclient-0.1.3-py3-none-any.whl:
Publisher:
workflow.yml on surenthars/waclient
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
waclient-0.1.3-py3-none-any.whl -
Subject digest:
1ce63709d8c17dc31fa6e06d27ccf9a87dd4428ea0f203fea794e7c092f64e54 - Sigstore transparency entry: 768290467
- Sigstore integration time:
-
Permalink:
surenthars/waclient@bd38957926b9283db1ef998827a46847ecdc5382 -
Branch / Tag:
refs/tags/v0.1.5 - Owner: https://github.com/surenthars
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
workflow.yml@bd38957926b9283db1ef998827a46847ecdc5382 -
Trigger Event:
push
-
Statement type: