
Security News
Vite Releases Technical Preview of Rolldown-Vite, a Rust-Based Bundler
Vite releases Rolldown-Vite, a Rust-based bundler preview offering faster builds and lower memory usage as a drop-in replacement for Vite.
.. image:: https://circleci.com/gh/praekeltfoundation/python-whatsapp-business-client/tree/develop.svg?style=svg :target: https://circleci.com/gh/praekeltfoundation/python-whatsapp-business-client/tree/develop
This work is extracted from Praekelt PBC's work on MomConnect and WhatsApp.
See the blog post
_ for more details.
This does not work with a normal WhatsApp account, only the WhatsApp Business API.
.. _blog post: https://medium.com/mobileforgood/praekelt-org-pilots-whatsapp-for-social-impact-19a336f5b04e
Also has some support for creating message templates and sending message templates in bulk.
.. code::
$ pip install wabclient[cli]
$ wabclient create --help
$ wabclient create \
--number <your number without leading + like `27123456789`> \
--token <your auth token> \
--name <template name> \
--template <template>
$ wabclient send --help
$ wabclient send \
--csv-file wa_ids.csv \
--token your-auth-token \
--namespace the-namespace \
--name the-element-name \
--rate-limit 60\60 \
--param "the first HSM template default param" \
--param "the second HSM template default param"
The CSV file should list the WA ids, one per line. WA ids are generally in the E.164 format without a leading plus.
If you're getting errors adding the --debug
flag will print the JSON error response from the API to stderr.
For WA ids that were sent to successfully will be print in green to stdout
, WA ids that are invalid will print to stderr
in red.
FAQs
WhatsApp Business API Client
We found that wabclient demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Vite releases Rolldown-Vite, a Rust-based bundler preview offering faster builds and lower memory usage as a drop-in replacement for Vite.
Research
Security News
A malicious npm typosquat uses remote commands to silently delete entire project directories after a single mistyped install.
Research
Security News
Malicious PyPI package semantic-types steals Solana private keys via transitive dependency installs using monkey patching and blockchain exfiltration.