Inofficial API Client for appWash by Miele.
Project description
AppWashPy
Inofficial API Client for appWash by Miele.
Usage
Import and initialize the AppWash-Client with your Email and Password:
Optionally pass the ID of your default location. See below how to obtain it.
from appwashpy import AppWash
appwash = AppWash("example@mail.org", "superstrongpassword", location_id="12345")
Information about the Location
Get the Location Object either to the location you specified in the AppWash-Object or to the given parameter.
It contains information like the name and available services and their prices.
location = appwash.location()
# or
location = appwash.location("12345")
Services
List of available serives
Get a list of available services/machines at your default or the specified location.
The Service Object contains among other things the type of service (washing machine, dryer, ...) and the current status (available, occupied, ...).
services = appwash.services()
# or
services = appwash.services("12345")
Buy the Service
The service can be bought directly through the .buy() method or via the AppWash-Object.
This will bill you the corresponding price!
services[0].buy()
# or
appwash.buy("12345")
Be careful, calling this function multiple times cancels the previous service and bills you again.
No warranty for freedom from errors and no compensation for damages incurred.
Donations
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for appwashpy-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8364c0fecbf17cd93ececc367101a8302206ff0bdcb2d2bddfb3a4e820350eb8 |
|
MD5 | 5692bd147d6fdc709598df7fd4c5f808 |
|
BLAKE2b-256 | 90eef4e3aed6fbae8488cdf6c4afb2b34781d9de45bb9803534792190b5b789d |