Whatsappy is a Python library for creating whatsapp bots.
Project description
whatsappy
Whatsappy is a Python library for creating whatsapp bots.
Creator: Italo Seara
Installation
Use the package manager pip to install whatsappy.
pip install whatsappy-py
Usage
from whatsappy import whatsapp
whatsapp.login(visible=False) # Login whatsapp (Headless mode)
whatsapp.select_chat('Mom') # Goes to the selected chat
whatsapp.send('Hello') # Send a message
whatsapp.close() # Exit
You can find more examples HERE
Supported features
Feature | Status |
---|---|
Send messages | ✅ |
Receive messages | ✅ |
Send media (images/audio/documents) | ✅ |
Send media (video) | ✅ |
Send stickers | pending |
Receive media (images/audio/video/documents) | pending |
Send contact cards | pending |
Send location | pending |
Receive location | pending |
Message replies | ✅ |
Join groups by invite | pending |
Get invite for group | ✅ |
Modify group info (subject, description) | ✅ |
Modify group settings (send messages, edit info) | ✅ |
Add group participants | ✅ |
Kick group participants | ✅ |
Promote group participants | ✅ |
Demote group participants | pending |
Mention users | pending |
Mute/unmute chats | pending |
Block/unblock contacts | pending |
Get contact info | pending |
Get profile pictures | pending |
Set user status message | pending |
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
License
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
whatsappy-py-2.3.tar.gz
(13.7 kB
view hashes)