Opensource Python wrapper to WhatsApp Cloud API
Project description
whatsapp-python
Free, open-source Python wrapper for the WhatsApp Cloud API.
Forked from Neurotech-HQ/heyoo
Supported features
- Sending messages
- Marking messages as read
- Sending Media (images, audio, video and documents)
- Sending location
- Sending interactive buttons
- Sending template messages
- Parsing messages and media received
Documentation
The documentation for the is available in the wiki
Costs of the API
While using third-party API providers of the WhatsApp API may have some monthly fees, using the WhatsApp API provided directly by Facebook is way cheaper. The first 1000 chats created are free, then there is a pay-as-you-go fee that is paid for each conversation started.
All the prices are available in the WhatsApp API docs
Switching from Neurotech-HQ/heyoo
Any version >1.1.2 is incompatible with the original heyoo
library! Be careful updating! Read the docs first!
Any version <=1.1.2 is fully compatible with the original heyoo
library and doesn't include any breaking change.
You can ignore this warning if it's your first time using the library.
Switching from heyoo to whatsapp-python doesn't require any change for versions up to 1.1.2: just uninstall the old, install the new and change the import name from heyoo
to whatsapp
.
For version which are GREATER THEN 1.1.2, messages have became objects, so you need to change your code to use the new methods.
Note: docs for version 1.1.2 are available in the dedicated wiki page
Issues
If you are facing any issues or have any questions, please open an issue on the GitHub repository
Contributing
This is an opensource project published under the MIT License
: LICENSE.
References
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
File details
Details for the file whatsapp-python-2.4.3.tar.gz
.
File metadata
- Download URL: whatsapp-python-2.4.3.tar.gz
- Upload date:
- Size: 5.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c9f6a0e4d01b9613b5a93192a42f29cb3be6230d41bea7137a51f9bf2900959e |
|
MD5 | 24ae89311f5f0c0ef5aca730b6f19327 |
|
BLAKE2b-256 | cc262a57d82da56b06e0714cefde294fb671468494c64fa0fcf7795b4e7da5df |