Skip to main content

Python API for the Cupra Born online services

Project description

WeConnect-Cupra-python

GitHub sourcecode GitHub release (latest by date) GitHub GitHub issues PyPI - Downloads PyPI - Python Version

Python API for the MyCupra Services. If you are not a developer and ended up here you probably want to check out a project using this library (see below).

Projects in which the library is used

  • VWsFriend: VWsFriend records statistics about your car (charging sessions, battery, trips, fueling, etc.) and displays them nicely. It also allows you to forward data from the car to other applications such as A better routeplanner and allows you to integrate your car into Apple HomeKit
  • WeConnect-cli: A commandline interface to interact with WeConnect
  • WeConnect-MQTT: A MQTT Client that provides WeConnect data to the MQTT Broker of your choice (e.g. your home automation solution such as ioBroker, FHEM or Home Assistant)

Install

pip3 install weconnect-cupra-daern[Images]

Package

python3 -m pip install --upgrade build
python3 -m build --sdist
python3 -m build --wheel

Distribute

python3 -m pip install --upgrade twine
python3 -m twine upload --repository pypi dist/*

Getting started

Tested with

  • Cupra Born Model year 2022/23

Login & Consent

WeConnect-python is based on the new WeConnect ID API that was introduced with the new series of ID cars. If you use another car or hybrid you probably need to agree to the terms and conditions of the WeConnect ID interface. Easiest to do so is by installing the WeConnect ID app on your smartphone and login there. If necessary you will be asked to agree to the terms and conditions.

Reporting Issues

Please feel free to open an issue at GitHub Issue page to report problems you found.

Known Issues

  • The API is in alpha state and may change unexpectedly at any time! Please conscider this and pin to a specific version if you depend on it.
  • Examples and API documentation is missing

Credits

Largely based on WeConnect-python for VW from https://github.com/tillsteinbach/WeConnect-python, with the initial Cupra port developed by Alan Gibson Inspired by TA2k/ioBroker.vw-connect that gave me a point to start working with the API

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

weconnect_cupra_daern-0.50.15.tar.gz (86.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

weconnect_cupra_daern-0.50.15-py3-none-any.whl (127.4 kB view details)

Uploaded Python 3

File details

Details for the file weconnect_cupra_daern-0.50.15.tar.gz.

File metadata

  • Download URL: weconnect_cupra_daern-0.50.15.tar.gz
  • Upload date:
  • Size: 86.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 colorama/0.4.6 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.31.0 rfc3986/1.5.0 tqdm/4.57.0 urllib3/1.26.16 CPython/3.10.12

File hashes

Hashes for weconnect_cupra_daern-0.50.15.tar.gz
Algorithm Hash digest
SHA256 7e48fb2628ccb621a4c0ea98e30de300991edef81372072dc6d05fb7f6b6a0d6
MD5 b594150781d4af9a10d607907f0c07e6
BLAKE2b-256 90fb5f7df7c78291325f5223b34501bc2e4e01750e2b23166e3b8a97c2eeffaf

See more details on using hashes here.

File details

Details for the file weconnect_cupra_daern-0.50.15-py3-none-any.whl.

File metadata

  • Download URL: weconnect_cupra_daern-0.50.15-py3-none-any.whl
  • Upload date:
  • Size: 127.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 colorama/0.4.6 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.31.0 rfc3986/1.5.0 tqdm/4.57.0 urllib3/1.26.16 CPython/3.10.12

File hashes

Hashes for weconnect_cupra_daern-0.50.15-py3-none-any.whl
Algorithm Hash digest
SHA256 21f4c0550eb7c5284f2eb7ca80bb5cdf7c664ff8119022406bbb3d7d65d41b3f
MD5 a48e5c2d7722c55d622b7fdc3a2a1737
BLAKE2b-256 52bf0d57c4980e0c694f7b2e5f41a53b3b09fd1cb50375c023c7995d1c25801a

See more details on using hashes here.

Supported by

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