Metadata-Version: 2.1
Name: senlerpy
Version: 2.2
Summary: Wrapper for senler.ru API
Home-page: https://github.com/tezmen/SenlerPy
Author: tezmen
Author-email: tezmenpro@gmail.com
License: Apache License, Version 2.0, see LICENSE file
Download-URL: https://github.com/tezmen/SenlerPy/archive/master.zip
Keywords: senler,api,wrapper
Platform: UNKNOWN
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Operating System :: OS Independent
Classifier: Environment :: Console
Classifier: Development Status :: 3 - Alpha
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: Implementation :: PyPy
Description-Content-Type: text/markdown
Requires-Dist: chardet (==3.0.4)
Requires-Dist: idna (==2.8)
Requires-Dist: requests (==2.21.0)
Requires-Dist: urllib3 (==1.24.1)

# SenlerPy

Библиотека на python для работы с api сервиса senler.ru

[![N|Solid](https://img.shields.io/pypi/pyversions/smsactivateru.svg)](https://pypi.python.org/pypi/smsactivateru)

**Внимание!**
Версия 2.0 и выше работает только с python 3.7 и выше

### Установка
Установка с помощью стандартного пакетного менеджера pip:
```
$ pip install senlerpy --upgrade
```
Либо установка напрямую из репозитория, с ручной сборкой
```
$ git clone https://github.com/tezmen/senlerpy
$ cd senlerpy
$ python setup.py install
```
...либо установка через pip но из репозитория, минуя сервера pypi
```
$ pip install git+https://github.com/tezmen/senlerpy
```
### Простой пример
```python
api = Senler('SECRET')

data = api(
	methods.Deliveries.stat,
	date_from='2018-01-01 10:00:00',
	date_to='2018-12-30 23:00:00',
	vk_group_id=1,
)

print(data['items'])
```
Больше примеров смотрите в папке /example/

