Simple wrapper around yowsup to send a message or mediafile with whatsapp
Project description
# Example usage
You can register a whatsapp client with the [yowsup-cli](https://github.com/tgalal/yowsup/wiki/yowsup-cli-2.0#yowsup-cli-registration)
```python
from whatsapp import Client
phone_to = '31641371199'
client = Client(login='3161516888', password='secretpasswordbase64')
client.send_message(phone_to, 'Hello Lola')
client.send_media(phone_to, path='/Users/tax/Desktop/logo.jpg')
```
# Installation
```
$ pip install pywhatsapp
```
You can register a whatsapp client with the [yowsup-cli](https://github.com/tgalal/yowsup/wiki/yowsup-cli-2.0#yowsup-cli-registration)
```python
from whatsapp import Client
phone_to = '31641371199'
client = Client(login='3161516888', password='secretpasswordbase64')
client.send_message(phone_to, 'Hello Lola')
client.send_media(phone_to, path='/Users/tax/Desktop/logo.jpg')
```
# Installation
```
$ pip install pywhatsapp
```
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.7.tar.gz
(3.9 kB
view details)
File details
Details for the file pywhatsapp-0.0.7.tar.gz
.
File metadata
- Download URL: pywhatsapp-0.0.7.tar.gz
- Upload date:
- Size: 3.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3441f435a33180971caa1f91a36d6546ea502f2dd82cec1529839c60d5d505d1 |
|
MD5 | a6e729505e448abb4dcdee3194ba5a53 |
|
BLAKE2b-256 | e5aa3836446148a0d05efc8aef68c0e61b21e6b97bdbba46698532a7cefa7df4 |