Skip to main content

A python API for whatsapp web

Project description

[![Documentation Status](](

Checkout the [documentation][doc].


## Quick Example
import whapy

wap = whapy.WhaPy(whapy.Browser.firefox, True)

async def on_message(chat, messages):
print("New messages arrived: ")
for i in range(0,len(messages)):
if not messages[i].is_media():
if messages[i].get_content() == "@who":
chat.send_message("are you?")

async def on_ready():
print("Logged in as " + wap.get_me())

## Dependencies

- Python 3.4.2+
- `selenium` library
- `a webdriver` (

Project details

Download files

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

Files for whapy, version 0.2.0
Filename, size File type Python version Upload date Hashes
Filename, size whapy-0.2.0.tar.gz (6.1 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page