Skip to main content

Python services for convenient work with iiko Biz API and iiko Card API

None None

Project description

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" прописывайте при инициализации класса

Project details

None None

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyiikoapi-0.0.11.tar.gz (18.9 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page