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
[]
Metadata
Release files for Taqnyat 1.0.1
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 |
|---|---|---|---|---|
| Taqnyat-1.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Release files / Taqnyat-1.0.1-py3-none-any.whl
| Download URL | Taqnyat-1.0.1-py3-none-any.whl |
|---|---|
| Size | 2.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
cc9c73426e083034361f7c2be4e1102dd99b5d80227af663869c14dfd0d37866
|
|
BLAKE2b-256 checksum How to use checksums |
67f23aeb997a303dd4e3711f7bad72641c2ed598d564b5bb2390ff834057968e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Security for Taqnyat 1.0.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.