PyWassap is a python library for sending WhatsApp messages using the WhatsApp Business API.
Project description
A simple asynchronous Python library for WhatsApp Web.
Documentation: https://pywassap.netlify.app
Source Code: https://github.com/Aarif1430/pywassap
PyWassap is a python library for sending WhatsApp messages using the WhatsApp Business API. It is a wrapper around the WhatsApp Business API. The library is built on top of the aiohttp library for asynchronous HTTP requests.
PyWassap supports the following features:
1. Send WhatsApp messages - Send WhatsApp messages to a single or multiple recipients.
from pywassap import PyWassap
client = WhatsApp(number, token)
client.send_message(
message="Hello World",
recipient_id="919999999999"
recipient_type="individual"
)
2. Send WhatsApp messages to multiple recipients - Send WhatsApp messages to multiple recipients.
from pywassap import WhatsApp
client = WhatsApp(number, token)
client.send_message(
message="Hello World",
recipient_id=["919999999999", "919999999998"]
recipient_type="individual"
)
Requirements
For development, the following requirements are needed:
python
aiohttp
Installation
$ pip install pywassap
---> 100%
Successfully installed pywassap
License
This project is licensed under the terms of the MIT license.
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
Built Distributions
File details
Details for the file PyWassap-0.0.1.tar.gz
.
File metadata
- Download URL: PyWassap-0.0.1.tar.gz
- Upload date:
- Size: 5.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.13 CPython/3.10.4 Darwin/21.5.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 55f25c93721e9ccc1f24f499ccc7a0b92c04809d460cac5939316caa1155d0ef |
|
MD5 | ad740418d49b59d8b51aa543d3135f27 |
|
BLAKE2b-256 | 0353692393327fde9da664627963454b3c2d58c8575dc025cb4a1f7122c3296e |
File details
Details for the file pywassap-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: pywassap-0.0.1-py3-none-any.whl
- Upload date:
- Size: 4.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.2.0a2 CPython/3.11.0 Linux/5.15.0-1022-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5d9d932d22a7a2411c8f14b4e6632e1c200b0a44beaaed607718f3c43a4beefc |
|
MD5 | 12dd438520113734f72412da0d16a0fe |
|
BLAKE2b-256 | 289e5751f6a185f25a7ea2124a53df322db08af8e28d7260c269ac7c205faf62 |
File details
Details for the file PyWassap-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: PyWassap-0.0.1-py3-none-any.whl
- Upload date:
- Size: 4.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.13 CPython/3.10.4 Darwin/21.5.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ed920354d5ae292c3a247d871c6acb1639363a3648964772a1efbeb603127d4a |
|
MD5 | 2b8b367cda33925b35e9b8207a247b7d |
|
BLAKE2b-256 | d45f73f4ef9ff72e843a4c6332568172b6984c1c3065e4b1a14f625bdaea2a8e |