Whatsappy is a Python library for creating whatsapp bots.
Creator: Italo Seara
Use the package manager pip to install whatsappy.
pip install whatsappy-py
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
|Verify new messages|
|Send media (images/audio/documents)|
|Send media (video)|
|Receive media (images/audio/video/documents)|
|Send contact cards||pending|
|Receive contact cards|
|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|
|Get contact info||pending|
|Get profile pictures||pending|
|Set user status message||pending|
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.