pyiikoapi
Python services for convenient work with iiko Biz API and iiko Card API
Requirements
- Python 3.5 or higher.
Install
pip install pyiikoapi
Read more Biz readme
Example
from biz import BizService
# class initialization
api = BizService(login,password,organizationId)
# receive a list of the organization's couriers
couriers = api.get_couriers()
Read more Card readme
Example
from card import CardService
# class initialization
api = CardService(login,password,organizationId)
# get a list of organizations, i define request_timeout = 2 minutes
organization_info = api.list(params={"request_timeout": "00%3A02%3A00"})
Инфо
Маркер доступа автоматически запрашивается при инициализации классов, а так же при каждом вызове любого из методов он будет проверять время жизни маркера доступа, если время жизни маркера прошло то будет автоматически запрошен заново.
Время жизни маркера доступа равно 15 минутам.
"organizationId" прописывайте при инициализации класса
Metadata
Release files for pyiikoapi 0.0.11
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 |
|---|---|---|---|---|
| pyiikoapi-0.0.11.tar.gz | 18.9 kB | Without provenance | Details for pyiikoapi-0.0.11.tar.gz |
Release files / pyiikoapi-0.0.11.tar.gz
| Download URL | pyiikoapi-0.0.11.tar.gz |
|---|---|
| Size | 18.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bf6db19906fecbd0bd940ea5b0a83162396ea6e548a6e96bb8662db0cf6da13e
|
|
BLAKE2b-256 checksum How to use checksums |
c47a2ab935c51fa4e709e3a7b11f9544ebe72d7c15bf689aa43e063a23505f64
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
|
Security for pyiikoapi 0.0.11
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.