Skip to main content

Library for interaction with the MySkoda APIs.

Project description

Version PyPi Downloads PyPi Docs Discord Coverage Status

MySkoda

This Python library can be used to work with the MySkoda API.

Get In Touch

We have an active community in our discord. Feel free to join.

If you have any issues, please report them in our issue tracker.

Quick Start

The MySkoda package is published to Pypi and can be found here.

It can be installed the usual way:

pip install myskoda

Basic example

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()

Documentation

Detailed documentation is available at read the docs:

As Library

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.

As CLI

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 "user@example.com" --password "super secret" list-vehicles

Help can be accessed the usual way:

myskoda --help

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

myskoda-0.7.2.tar.gz (28.3 kB view details)

Uploaded Source

Built Distribution

myskoda-0.7.2-py3-none-any.whl (36.9 kB view details)

Uploaded Python 3

File details

Details for the file myskoda-0.7.2.tar.gz.

File metadata

  • Download URL: myskoda-0.7.2.tar.gz
  • Upload date:
  • Size: 28.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for myskoda-0.7.2.tar.gz
Algorithm Hash digest
SHA256 7b0ae7c6cc4d62e2cd1a2f50a240b3a41e00658ac658a3ef6d98bcf59109c879
MD5 e8029514e9afec53d38ddeb7b411717e
BLAKE2b-256 df040e8f60b68a8a3f7a23acf7bd528c8589c4057700684c9f19d16a97c6c85c

See more details on using hashes here.

File details

Details for the file myskoda-0.7.2-py3-none-any.whl.

File metadata

  • Download URL: myskoda-0.7.2-py3-none-any.whl
  • Upload date:
  • Size: 36.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for myskoda-0.7.2-py3-none-any.whl
Algorithm Hash digest
SHA256 cd839df513d1a0a4eff881e5838c6b478a8373eaedac402a543849135531561d
MD5 78a9b9de6900ec53d4b46473c8765885
BLAKE2b-256 fd18f95ff8fb18289244c7d4222b9eda959d7ba8019641aeec6a0a78961db293

See more details on using hashes here.

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