Wrapper for senler.ru API
Project description
SenlerPy
Библиотека на python для работы с api сервиса senler.ru
Внимание! Версия 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
Простой пример
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/
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file senlerpy-2.2.1.tar.gz.
File metadata
- Download URL: senlerpy-2.2.1.tar.gz
- Upload date:
- Size: 3.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
43ddf252766356107640603cf8562a50b05b824f45426efa008a75ec6df9894c
|
|
| MD5 |
eba452df159ce0b3b6ac5757ce9caa88
|
|
| BLAKE2b-256 |
329e752c4a6fffa3a1eadb1e43a8be4b49374260b074dfa34dcb48db1a042881
|
File details
Details for the file senlerpy-2.2.1-py3-none-any.whl.
File metadata
- Download URL: senlerpy-2.2.1-py3-none-any.whl
- Upload date:
- Size: 8.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6fc5a4bf33b42c0ea5eee145d725f5fe53233f0cae52d2d466d389e9edf87148
|
|
| MD5 |
4522f147021534fbdc35fa91af499378
|
|
| BLAKE2b-256 |
e744b06c7ea24c773b40892b83081bd5b24a7631fa08885f526ef70ffecb9d78
|