Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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 WebClient

if __name__ == '__main__':
atol = WebClient("http://atol-host")
print(atol.get_shift_status())
```