This library is based on https://github.com/gadzhi/pyiiko. My goal is to have lightweight library without backward compatibility to the original library.
Pyiiko is the easy-to-use library for iiko ERP. This library provides a pure Python interface for the iiko Server API, iikoBiz and FrontWebApi.
iiko company development of innovative systems for HoReCa industry.
pip install git+https://github.com/nareyko/pyiiko2.git
from Pyiiko2.server import IikoServer, password_hash
ip = 'server ip'
port = 'server port'
login = 'login'
password = 'password'
iiko = IikoServer(
ip = ip, port = port,
login = login , passhash = password_hash(password)
)
iiko.login()
print(iiko.token)
iiko.logout()