Metadata-Version: 2.1
Name: epsonprinter
Version: 0.0.8
Summary: Communication package for Epson Workforce printer
Home-page: https://github.com/thastealth/epsonprinter
Author: ThaStealth
Author-email: author@example.com
License: UNKNOWN
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Description-Content-Type: text/markdown

# 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")
```



