Metadata-Version: 2.1
Name: sms4
Version: 0.1.0
Summary: Simple and straightforward way to send text messages
Home-page: https://sms4.dev
Author: Sergey Gaykov
Author-email: sdgaykov@gmail.com
License: MIT
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: License :: OSI Approved :: MIT License
Classifier: Intended Audience :: Developers
Classifier: Topic :: Communications :: Telephony
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Description-Content-Type: text/markdown
Requires-Dist: requests

# SMS4 Python Client

This is the Python client library for [SMS4](https://www.sms4.dev).

This library provides both blocking and non blocking functions for sending
text messages via sms4 API.

## Installation

```bash
pip install sms4
```

## Usage

```python
from sms4 import send, nonblocking_send

# result is a json server response. see docs for details
result = send('+123456798', 'The server is down!')
print(result)

# multiple numbers are supported and you can pass token via
# 3rd argument to send function
result = send(['+123456798', '+123456799'], 'The server is down!', 'YOUR_TOKEN')
print(result)

# Will be send in another thread, no result returned
nonblocking_send('+123456798', 'The server is down!')
```


