The documentation for Taqnyat API can be found here.
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.
Taqnyat library supports Python 3.0+.
You can install Taqnyat-Python via pip CLI or by downloading the source.
Taqnyat-Python is available on Packagist as the taqnyat package:
pip install taqnyat
import Client from TaqnyatSms
bearer = '**************************0adc2b'
taqnyt = client(bearer)
status = taqnyt.sendStatus();
print status;
import Client from TaqnyatSms
bearer = '**************************0adc2b'
ttaqnyt = client(bearer)
balance = taqnyt.balance();
print balance;
import Client from TaqnyatSms
bearer = '**************************0adc2b'
taqnyt = client(bearer)
senders = taqnyt.senders();
print senders;
# 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=''
deleteId =''
taqnyt = client(bearer)
message = taqnyt.sendMsg(body, recipients, sender,deleteId,scheduled);
print message;
# 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'
deleteId=100
taqnyt = client(bearer)
message = taqnyt.sendMsg(body, recipients, sender,deleteId,scheduled);
print message;
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