Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sir-go/atol-client
atol pos api client
https://github.com/sir-go/atol-client
atol atol-api json-rpc python
Last synced: 11 days ago
JSON representation
atol pos api client
- Host: GitHub
- URL: https://github.com/sir-go/atol-client
- Owner: sir-go
- License: mit
- Created: 2022-11-03T07:21:30.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2022-11-06T07:48:02.000Z (about 2 years ago)
- Last Synced: 2024-11-06T22:08:34.134Z (2 months ago)
- Topics: atol, atol-api, json-rpc, python
- Language: Python
- Homepage:
- Size: 8.79 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
[![Tests](https://github.com/sir-go/atol-client/actions/workflows/python-tests.yml/badge.svg?branch=main)](https://github.com/sir-go/atol-client/actions/workflows/python-tests.yml)
# Web Client Lib for [ATOL POS](https://www.atol.ru/catalog/pos-sistemy) 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
```bash
pip install atol-client
```## Tests
```bash
pip install -r requirements.txt
flake8 . --show-source --statistics && python -m pytest .
```## Usage
```python
from atol import WebClientif __name__ == '__main__':
atol = WebClient("http://atol-host")
print(atol.get_shift_status())
```