Skip to main content

SenlerPy

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

N|Solid

Внимание! Версия 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)

Source distribution for senlerpy 2.2.1
File Size Uploaded
senlerpy-2.2.1.tar.gz 3.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for senlerpy 2.2.1
File Interpreter ABI Platform
senlerpy-2.2.1-py3-none-any.whl Python 3 none any Details

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

Release history Release notifications | RSS feed

This release

2.2.1 This release

2 release files

2.2

2 release files

1.3

2 release files

1.2

2 release files

1.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page