This Python library can be used to work with the MySkoda API.
We have an active community in our discord. Feel free to join.
If you have any issues, please report them in our issue tracker.
The MySkoda package is published to Pypi and can be found here.
It can be installed the usual way:
pip install myskoda
from aiohttp import ClientSession
from myskoda import MySkoda
session = ClientSession()
myskoda = MySkoda(session)
await myskoda.connect(email, password)
for vin in await myskoda.list_vehicle_vins():
print(vin)
myskoda.disconnect()
await session.close()
Detailed documentation is available at read the docs:
MySkoda relies on aiohttp which must be installed.
A ClientSession
must be opened and passed to MySkoda
upon initialization.
After connecting, operations can be performed, events can be subscribed to and data can be loaded from the API.
Don't forget to close the session and disconnect MySkoda after you're done.
The MySkoda package features a CLI.
You will have to install it with extras cli
:
pip install myskoda[cli]
Afterwards, the CLI is available in your current environment by invoking myskoda
.
Username and password must be provided to the CLI for every request as options, before selecting a sub command:
myskoda --user "[email protected]" --password "super secret" list-vehicles
Help can be accessed the usual way:
myskoda --help