afvalwijzerapi-0.0.2
توضیحات
Communication package for AfvalwijzerAPI
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | afvalwijzerapi-0.0.2 |
| نام | afvalwijzerapi |
| نسخه کتابخانه | 0.0.2 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | ThaStealth |
| ایمیل نویسنده | author@example.com |
| آدرس صفحه اصلی | https://github.com/thastealth/afvalwijzer-api |
| آدرس اینترنتی | https://pypi.org/project/afvalwijzerapi/ |
| مجوز | - |
# epsonprinter-api
This package can be used to scrape the ink levels from your Epson Workforce printer.
## Usage:
### Connection
Create the API object with the IP address of the printer, on connect the values are fetched from the printer
```python
api = EpsonPrinterAPI(<IP>)
```
Fetches the latest values from the printer
### Update values
```python
api.update()
```
### Get actual values
```python
#regular colours
black = api.getSensorValue("black")
magenta = api.getSensorValue("magenta")
cyan = api.getSensorValue("cyan")
yellow = api.getSensorValue("yellow")
# Cleaning cardridge
clean = api.getSensorValue("clean")
```
نحوه نصب
نصب پکیج whl afvalwijzerapi-0.0.2:
pip install afvalwijzerapi-0.0.2.whl
نصب پکیج tar.gz afvalwijzerapi-0.0.2:
pip install afvalwijzerapi-0.0.2.tar.gz