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/
Metadata
Release files for senlerpy 2.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| senlerpy-2.2.1.tar.gz | 3.7 kB | Without provenance | Details for senlerpy-2.2.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| senlerpy-2.2.1-py3-none-any.whl | Python 3 | none | any | Details for senlerpy-2.2.1-py3-none-any.whl |
Total release size: 12.3 kB
Release files / senlerpy-2.2.1.tar.gz
| Download URL | senlerpy-2.2.1.tar.gz |
|---|---|
| Size | 3.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
43ddf252766356107640603cf8562a50b05b824f45426efa008a75ec6df9894c
|
|
BLAKE2b-256 checksum How to use checksums |
329e752c4a6fffa3a1eadb1e43a8be4b49374260b074dfa34dcb48db1a042881
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / senlerpy-2.2.1-py3-none-any.whl
| Download URL | senlerpy-2.2.1-py3-none-any.whl |
|---|---|
| Size | 8.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6fc5a4bf33b42c0ea5eee145d725f5fe53233f0cae52d2d466d389e9edf87148
|
|
BLAKE2b-256 checksum How to use checksums |
e744b06c7ea24c773b40892b83081bd5b24a7631fa08885f526ef70ffecb9d78
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Security for senlerpy 2.2.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.