Client for ATOL POS API
Project description
Web Client Lib for ATOL POS terminal
A small library - client for ATOL API
Implemented functions
- buy
- buyCorrection
- buyReturn
- cashIn
- cashOut
- changeRegistrationParameters
- closeArchive
- closeShift
- continuePrint
- fnChange
- getDeviceInfo
- getDeviceStatus
- getFnInfo
- getRegistrationInfo
- getShiftStatus
- nonFiscal
- ofdExchangeStatus
- openShift
- registration
- reportOfdExchangeStatus
- reportX
- sell
- sellCorrection
- sellReturn
Install
pip install atol-client
Tests
pip install -r requirements.txt
flake8 . --show-source --statistics && python -m pytest .
Usage
from atol import WebClient
if __name__ == '__main__':
atol = WebClient("http://atol-host")
print(atol.get_shift_status())
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
atol-client-1.14.6.tar.gz
(4.7 kB
view details)
Built Distribution
File details
Details for the file atol-client-1.14.6.tar.gz
.
File metadata
- Download URL: atol-client-1.14.6.tar.gz
- Upload date:
- Size: 4.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 60333d3ae80a47b95b7d5275fb9e283a188af06cef1844a83e5cd6469a600430 |
|
MD5 | 6f77b1c374dd354f69bb9c1381a308c7 |
|
BLAKE2b-256 | 01be6c22ceba60a7f63d5ea27a0c6f32ecbb63409d19b931f91704a1cc9e4d41 |
File details
Details for the file atol_client-1.14.6-py3-none-any.whl
.
File metadata
- Download URL: atol_client-1.14.6-py3-none-any.whl
- Upload date:
- Size: 5.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1dfcf4a185ae36be5b17ad135d5e271ba2605f4a27f76ffd693580e474105c8a |
|
MD5 | 2e4577b9a2b97cc92d98371b47ba1217 |
|
BLAKE2b-256 | 3157f0a79029031f87e8c331250ee30fefe8713056b5bc6e952307186e0f2ea9 |