fitelio-ms-client-0.1.9
توضیحات
Messaging service client.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | fitelio-ms-client-0.1.9 |
| نام | fitelio-ms-client |
| نسخه کتابخانه | 0.1.9 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Vyacheslav Onufrienko |
| ایمیل نویسنده | onufrienkovi@gmail.com |
| آدرس صفحه اصلی | https://gitlab.com/fitelio/messaging-service/client |
| آدرس اینترنتی | https://pypi.org/project/fitelio-ms-client/ |
| مجوز | - |
# Fitel.io Messaging Service Client
[](https://www.python.org/)
[](https://github.com/wemake-services/wemake-python-styleguide)
[](https://github.com/psf/black)
[](https://wemake.services)
## Quickstart
Install
```console
pip install fitelio-ms-client
```
Then you can send messages:
```python
from fms.client import FMSClient
FMSClient().send_message(recipients=["<phone1>", "<phone2>"], text="Congratulation! You have sent first SMS")
```
or
```python
from fms.client import FMSClient
FMSClient().send_message(recipients=["<phone>"], text="Congratulation! You have sent first SMS", provider="twilio")
```
or Push message
```python
from fms.client import FMSClient
FMSClient().send_message(recipients=["<token1>", "<token2>"], text="Congratulation! You have sent first Push message",
method="push")
```
## Prerequisites
You will need:
- `python3.8` (see `pyproject.toml` for full version)
- `MS Server instance`
## Development
When developing locally, we use:
- [`editorconfig`](http://editorconfig.org/) plugin (**required**)
- [`pipenv`](https://github.com/pypa/pipenv) (**required**)
- `pycharm 2017+` or `vscode`
## Documentation
Full documentation is available here: [`docs/`](docs).
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.7 | Python |
نحوه نصب
نصب پکیج whl fitelio-ms-client-0.1.9:
pip install fitelio-ms-client-0.1.9.whl
نصب پکیج tar.gz fitelio-ms-client-0.1.9:
pip install fitelio-ms-client-0.1.9.tar.gz