AppWashPy
Inofficial API Client for appWash by Miele.
Usage
Check the Juypter-Notebook (example.ipynb) for more code examples!
Installation
Install the package via pip:
$ pip install appwashpy
Get Started
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")
Obtaining the Location ID
If you login at appwash.com you should get redirected to your default location.
The URL then contains the Location ID. For example 12345 for https://appwash.com/myappwash/location/?id=12345
Services
List of Available Services
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")
Get Specific Service by ID
Get a specific Service Object.
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
Metadata
Release files for appwashpy 1.2.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| appwashpy-1.2.5.tar.gz | 22.9 kB | Without provenance | Details for appwashpy-1.2.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| appwashpy-1.2.5-py3-none-any.whl | Python 3 | none | any | Details for appwashpy-1.2.5-py3-none-any.whl |
Total release size: 44.1 kB
Release files / appwashpy-1.2.5.tar.gz
| Download URL | appwashpy-1.2.5.tar.gz |
|---|---|
| Size | 22.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
552c9d99e147e1cb7b53db3dbac3e1ee1d9019ee34d49cf9971ad7fee91d4e31
|
|
BLAKE2b-256 checksum How to use checksums |
4747d14ec7c71a07b37ae807d8b126ed6644b9d3b6af08523d0659279a9d1da9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.0
|
Release files / appwashpy-1.2.5-py3-none-any.whl
| Download URL | appwashpy-1.2.5-py3-none-any.whl |
|---|---|
| Size | 21.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6fd2e3dadc040e2c49e45a414f00b1df9706f0d1e0b9d091369eef71e55abf51
|
|
BLAKE2b-256 checksum How to use checksums |
6d05b8cce74dfc5c8c2ef87f6913272620d0f2348b17319b9984cd9d9133ac67
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.0
|
Security for appwashpy 1.2.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.