taqnyat package for python SMS
Project description
Taqnyat Python
Documentation
The documentation for Taqnyat API can be found here.
Versions
Taqnyat this is a beta version of Taqnyat to support the Python technology , and we will continue adding more features to support the Python community.
Supported Python Versions
Taqnyat library supports Python 3.0+.
Installation
You can install Taqnyat-Python via pip CLI or by downloading the source.
Via PIP CLI:
Taqnyat-Python is available on Packagist as the taqnyat package:
pip install taqnyat
Quickstart
Get Services status
import Client from TaqnyatSms
bearer = '**************************0adc2b'
taqnyt = client(bearer)
status = taqnyt.sendStatus();
print status;
Get the account balance and status
import Client from TaqnyatSms
bearer = '**************************0adc2b'
ttaqnyt = client(bearer)
balance = taqnyt.balance();
print balance;
Get the account senders
import Client from TaqnyatSms
bearer = '**************************0adc2b'
taqnyt = client(bearer)
senders = taqnyt.senders();
print senders;
Send an SMS
# Sending a SMS using Taqnyat API and Python is easy as the following:
import Client from TaqnyatSms
bearer = '**************************0adc2b'
body = 'message Content';
recipients = ['966********'];
sender = 'Sender Name';
scheduled=''
taqnyt = client(bearer)
message = taqnyt.sendMsg(body, recipients, sender,scheduled);
print message;
Send a schedule SMS
# Sending a SMS using Taqnyat API and Python is easy as the following:
import Client from TaqnyatSms
bearer = '**************************0adc2b'
body = 'message Content';
recipients = ['966********'];
sender = 'Sender Name';
scheduled='2020-09-30T14:26'
taqnyt = client(bearer)
message = taqnyt.sendMsg(body, recipients, sender,scheduled);
print message;
Getting help
If you need help installing or using the library, please send us email to Taqnyat Team .
If you've instead found a bug in the library or would like new features added, go ahead and send us email , we are welcoming to any suggestion any time
[]
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 Distributions
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 Taqnyat-1.0.1-py3-none-any.whl.
File metadata
- Download URL: Taqnyat-1.0.1-py3-none-any.whl
- Upload date:
- Size: 2.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.9.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cc9c73426e083034361f7c2be4e1102dd99b5d80227af663869c14dfd0d37866
|
|
| MD5 |
cffd0d4559ea9b3e05e3483e26e31538
|
|
| BLAKE2b-256 |
67f23aeb997a303dd4e3711f7bad72641c2ed598d564b5bb2390ff834057968e
|