A simple callmebot wrapper.
Project description
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)
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
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
callmebot_utils-0.1.0.tar.gz
(3.0 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file callmebot_utils-0.1.0.tar.gz.
File metadata
- Download URL: callmebot_utils-0.1.0.tar.gz
- Upload date:
- Size: 3.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2f5ac4e0ab9ac4a2d1a791a298ce694f326a634821c170960e21501173758cc3
|
|
| MD5 |
d624ce7812c88150045827f33bd90502
|
|
| BLAKE2b-256 |
b9702dc19e89a6cd0c1c197663c83e3b30692ed3384de402558e828898c6bf47
|
File details
Details for the file callmebot_utils-0.1.0-py3-none-any.whl.
File metadata
- Download URL: callmebot_utils-0.1.0-py3-none-any.whl
- Upload date:
- Size: 4.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
737480380d71f246aaff7c37616579b1dd3d87186ff4b76c7b7c528cb6b58574
|
|
| MD5 |
26ca478f45e2144ea60226c712264f6e
|
|
| BLAKE2b-256 |
bf113fbad028cde4ad4a55d795e81194279ce99742a731d928f64fba91b92a86
|