Python SleentO
installation
pip install sleento
Usage
from sleento.service import Client, Message
client = Client(
cid='xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx', # replace with your cid
auth_token='xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' # your auth_token
)
message = Message(
client=client,
to_phone_number="+243xxxxxxxxx",
body="Hello World"
)
res = message.send() # send the message
print(res.status_code, res.text)
Metadata
Release files for sleento 0.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| sleento-0.0.3-py3-none-any.whl | Python 3 | none | any | Details |
Release files / sleento-0.0.3-py3-none-any.whl
| Download URL | sleento-0.0.3-py3-none-any.whl |
|---|---|
| Size | 2.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4d34616dc15bb62936bb4aa150f29b473e5ba454d32d9a9e82a001a4872c4aec
|
|
BLAKE2b-256 checksum How to use checksums |
b1849562efa75e52638b29bc468491f71c773dfe117556b3dd11b1836dd2b33e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.0 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.5
|