Skip to main content

PyWassap is a python library for sending WhatsApp messages using the WhatsApp Business API.

Project description

pywassap

A simple asynchronous Python library for WhatsApp Web.

Test Publish Coverage


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"
))

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

pywassap-0.0.2-py3-none-any.whl (4.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page