callmebot-utils
callmebot-utils is a Python module that provides a simple interface to send messages via Facebook, WhatsApp, and Signal using CallMeBot.
Installation
You can install this module using pip:
pip install callmebot-utils
Usage
Sending a Message via WhatsApp
from callmebot_utils import Whatsapp
api_key = "YOUR_API_KEY"
phone = "PHONE_NUMBER"
whatsapp = Whatsapp(api_key, phone)
response = whatsapp.send_text("Hello from CallMeBot!")
print(response)
Sending a Message via Facebook
from callmebot_utils import Facebook
api_key = "YOUR_API_KEY"
facebook = Facebook(api_key)
response = facebook.send_text("Hello from CallMeBot!")
print(response)
response = facebook.send_image_by_url("https://avatars.githubusercontent.com/u/144510317")
print(response)
response = facebook.send_image("./your_image_path.png")
print(response)
Sending a Message via Signal
from callmebot_utils import Signal
api_key = "YOUR_API_KEY"
phone = "PHONE_NUMBER"
signal = Signal(api_key, phone)
response = signal.send_text("Hello from CallMeBot!")
print(response)
License
This project is licensed under the MIT License.
Author
Developed by Sakib Salim
GitHub: sakib-salim
Metadata
Release files for callmebot-utils 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| callmebot_utils-0.1.1.tar.gz | 3.2 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| callmebot_utils-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.5 kB
Release files / callmebot_utils-0.1.1.tar.gz
| Download URL | callmebot_utils-0.1.1.tar.gz |
|---|---|
| Size | 3.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
190d60b4df5a47e865e6b4fa3efcd2767b8ad53180315eb5ff66a7e097102b43
|
|
BLAKE2b-256 checksum How to use checksums |
23c3b15d7be1c0d026a531f2e57f56a4ace58afb4b1c23a16adc0033251efc06
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Release files / callmebot_utils-0.1.1-py3-none-any.whl
| Download URL | callmebot_utils-0.1.1-py3-none-any.whl |
|---|---|
| Size | 4.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9c3567bb5a4d741b652d898a28533df9929ddee3d70029a6fd8babcfe21cfbe3
|
|
BLAKE2b-256 checksum How to use checksums |
ce24bae699027b4b9f37e5fa77a8f7c56269ef7d9351bda7d7236ba10fb8b6bf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Security for callmebot-utils 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.