Metadata-Version: 2.1
Name: Taqnyat
Version: 1.0.1
Summary: taqnyat package for python SMS
Home-page: https://github.com/taqnyat/python
Author: Anas Hamarshi
Author-email: dev@taqnyat.sa
License: UNKNOWN
Keywords: taqnyat sms cpaas
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Description-Content-Type: text/markdown

# Taqnyat Python

[![Packagist](https://img.shields.io/badge/Python-v1.0.0-blue)](https://pypi.org/project/Taqnyat/)
[![Packagist](https://img.shields.io/badge/Download-12.4KB-Green)](https://pypi.org/project/Taqnyat/)

## Documentation

The documentation for Taqnyat API can be found [here][apidocs].

## 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]([![Packagist](https://img.shields.io/badge/repl-White)](https://pypi.org/project/Taqnyat/)
) package:

```
pip install taqnyat
```

## Quickstart

### Get Services status

```Python
import Client from TaqnyatSms

bearer = '**************************0adc2b'
taqnyt = client(bearer)
status = taqnyt.sendStatus();

print status;

```

### Get the account balance and status

```Python
import Client from TaqnyatSms

bearer = '**************************0adc2b'
ttaqnyt = client(bearer)
balance = taqnyt.balance();

print balance;

```

### Get the account senders

```Python
import Client from TaqnyatSms

bearer = '**************************0adc2b'
taqnyt = client(bearer)
senders = taqnyt.senders();

print senders;

```

### Send an SMS

```Python
# 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

```Python
# 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](mailto:dev@taqnyat.sa) .

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

[apidocs]: http://taqnyat.sa/documentation
[libdocs]: https://github.com/taqnyat/python/README.md

[![Run on Repl.it](https://repl.it/badge/github/taqnyat/python)]


