Skip to main content

Communication package for AfvalwijzerAPI

Project description

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

api = EpsonPrinterAPI(<IP>)

Fetches the latest values from the printer

Update values

api.update()

Get actual values

#regular colours
black = api.getSensorValue("black")
magenta = api.getSensorValue("magenta")
cyan = api.getSensorValue("cyan")
yellow = api.getSensorValue("yellow")

# Cleaning cardridge
clean = api.getSensorValue("clean")

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

afvalwijzerapi-0.0.2.tar.gz (2.1 kB view hashes)

Uploaded Source

Built Distribution

afvalwijzerapi-0.0.2-py3-none-any.whl (15.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page