Skip to main content

Simple wrapper around yowsup to send a message or mediafile with whatsapp

Project description

# Example usage
Register for whatsapp via [yowsup-cli registration](https://github.com/tgalal/yowsup/wiki/yowsup-cli-2.0)

```python
from whatsapp import Client
import logging
logging.basicConfig(level=logging.ERROR)

to = '31641371199'

client = Client(login='3161516888', password='secretpasswordbase64')
client.send_message(to, 'Hello lola')
client.send_media(to, path='/Users/tax/Desktop/logo.jpg')
```

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

pywhatsapp-0.0.3.tar.gz (4.0 kB view hashes)

Uploaded Source

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