atol-client-1.14.6
توضیحات
Client for ATOL POS API
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | atol-client-1.14.6 |
| نام | atol-client |
| نسخه کتابخانه | 1.14.6 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Sergei Michenko |
| ایمیل نویسنده | mserg@tih.ru |
| آدرس صفحه اصلی | https://github.com/sir-go/atol-client |
| آدرس اینترنتی | https://pypi.org/project/atol-client/ |
| مجوز | MIT |
[](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())
```
نیازمندی
| مقدار | نام |
|---|---|
| - | requests |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.6 | Python |
نحوه نصب
نصب پکیج whl atol-client-1.14.6:
pip install atol-client-1.14.6.whl
نصب پکیج tar.gz atol-client-1.14.6:
pip install atol-client-1.14.6.tar.gz