Product
Introducing License Enforcement in Socket
Ensure open-source compliance with Socket’s License Enforcement Beta. Set up your License Policy and secure your software!
PyWassap is a python library for sending WhatsApp messages using the WhatsApp Business API.
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.
import asyncio
from pywassap import PyWassap
client = WhatsApp(number, token)
asyncio.run(client.send_text_message(
message="Hello World",
recipient_id="919999999999"
recipient_type="individual"
))
2. Send WhatsApp messages to multiple recipients - Send WhatsApp messages to multiple recipients.
import asyncio
from pywassap import WhatsApp
client = WhatsApp(number, token)
asyncio.run(client.send_text_message(
message="Hello World",
recipient_id=["919999999999", "919999999998"]
recipient_type="individual"
))
For development, the following requirements are needed:
python
aiohttp
$ pip install pywassap
---> 100%
Successfully installed pywassap
This project is licensed under the terms of the MIT license.
FAQs
PyWassap is a python library for sending WhatsApp messages using the WhatsApp Business API.
We found that pywassap demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Ensure open-source compliance with Socket’s License Enforcement Beta. Set up your License Policy and secure your software!
Product
We're launching a new set of license analysis and compliance features for analyzing, managing, and complying with licenses across a range of supported languages and ecosystems.
Product
We're excited to introduce Socket Optimize, a powerful CLI command to secure open source dependencies with tested, optimized package overrides.