# WeConnect-python
[![GitHub sourcecode](https://img.shields.io/badge/Source-GitHub-green)](https://github.com/tillsteinbach/WeConnect-python/)
[![GitHub release (latest by date)](https://img.shields.io/github/v/release/tillsteinbach/WeConnect-python)](https://github.com/tillsteinbach/WeConnect-python/releases/latest)
[![GitHub](https://img.shields.io/github/license/tillsteinbach/WeConnect-python)](https://github.com/tillsteinbach/WeConnect-python/blob/master/LICENSE)
[![GitHub issues](https://img.shields.io/github/issues/tillsteinbach/WeConnect-python)](https://github.com/tillsteinbach/WeConnect-python/issues)
[![PyPI - Downloads](https://img.shields.io/pypi/dm/weconnect?label=PyPI%20Downloads)](https://pypi.org/project/weconnect/)
[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/weconnect)](https://pypi.org/project/weconnect/)
[![Donate at PayPal](https://img.shields.io/badge/Donate-PayPal-2997d8)](https://www.paypal.com/donate?hosted_button_id=2BVFF5GJ9SXAJ)
[![Sponsor at Github](https://img.shields.io/badge/Sponsor-GitHub-28a745)](https://github.com/sponsors/tillsteinbach)
Python API for the Volkswagen WeConnect and Cupra 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](https://github.com/tillsteinbach/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](https://abetterrouteplanner.com/) and allows you to integrate your car into [Apple HomeKit](https://www.apple.com/ios/home/)
- [WeConnect-cli](https://github.com/tillsteinbach/WeConnect-cli): A commandline interface to interact with WeConnect
- [WeConnect-MQTT](https://github.com/tillsteinbach/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](https://www.iobroker.net), [FHEM](https://fhem.de) or [Home Assistant](https://www.home-assistant.io))
## Install
```
pip3 install weconnect[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
- To get started have a look in the [examples folder](https://github.com/tillsteinbach/WeConnect-python/tree/main/examples)
## Tested with
- Volkswagen ID.3 Modelyear 2021
- Volkswagen Passat GTE Modelyear 2021
- Cupra Born Modelyear 2022
## 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](https://github.com/tillsteinbach/WeConnect-python/issues) 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
Inspired by [TA2k/ioBroker.vw-connect](https://github.com/TA2k/ioBroker.vw-connect/) that gave me a point to start working with the API
## Seat, Cupra, Skoda IV, ...
In an effort to try to make WeConnect-python also to work with latest generation of vehicles from other volkswagen brands I'm looking for users to temporarily share access to their accounts. If you are willing to support please send me a message.
- Already tried: Cupra Born (The API looks a bit different, maybe it is older, I will check again in some weeks), thanks to the user initdebugs
Raw data
{
"_id": null,
"home_page": "https://github.com/tillsteinbach/WeConnect-python",
"name": "weconnect-cupra",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.7",
"maintainer_email": "",
"keywords": "weconnect,we connect,carnet,car net,volkswagen,vw,telemetry",
"author": "Alan Gibson",
"author_email": "",
"download_url": "https://files.pythonhosted.org/packages/c0/e7/242e2430e0f4464c38513d75ef407c07d24f4924580a914218194ec82ebb/weconnect-cupra-0.49.9.tar.gz",
"platform": null,
"description": "\n\n# WeConnect-python\n[![GitHub sourcecode](https://img.shields.io/badge/Source-GitHub-green)](https://github.com/tillsteinbach/WeConnect-python/)\n[![GitHub release (latest by date)](https://img.shields.io/github/v/release/tillsteinbach/WeConnect-python)](https://github.com/tillsteinbach/WeConnect-python/releases/latest)\n[![GitHub](https://img.shields.io/github/license/tillsteinbach/WeConnect-python)](https://github.com/tillsteinbach/WeConnect-python/blob/master/LICENSE)\n[![GitHub issues](https://img.shields.io/github/issues/tillsteinbach/WeConnect-python)](https://github.com/tillsteinbach/WeConnect-python/issues)\n[![PyPI - Downloads](https://img.shields.io/pypi/dm/weconnect?label=PyPI%20Downloads)](https://pypi.org/project/weconnect/)\n[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/weconnect)](https://pypi.org/project/weconnect/)\n[![Donate at PayPal](https://img.shields.io/badge/Donate-PayPal-2997d8)](https://www.paypal.com/donate?hosted_button_id=2BVFF5GJ9SXAJ)\n[![Sponsor at Github](https://img.shields.io/badge/Sponsor-GitHub-28a745)](https://github.com/sponsors/tillsteinbach)\n\nPython API for the Volkswagen WeConnect and Cupra 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).\n\n## Projects in which the library is used\n- [VWsFriend](https://github.com/tillsteinbach/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](https://abetterrouteplanner.com/) and allows you to integrate your car into [Apple HomeKit](https://www.apple.com/ios/home/)\n- [WeConnect-cli](https://github.com/tillsteinbach/WeConnect-cli): A commandline interface to interact with WeConnect\n- [WeConnect-MQTT](https://github.com/tillsteinbach/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](https://www.iobroker.net), [FHEM](https://fhem.de) or [Home Assistant](https://www.home-assistant.io))\n\n## Install\n```\npip3 install weconnect[Images]\n```\n\n## Package\n```\npython3 -m pip install --upgrade build\npython3 -m build --sdist\npython3 -m build --wheel\n```\n\n## Distribute\n```\npython3 -m pip install --upgrade twine\npython3 -m twine upload --repository pypi dist/*\n```\n\n## Getting started\n- To get started have a look in the [examples folder](https://github.com/tillsteinbach/WeConnect-python/tree/main/examples)\n\n## Tested with\n- Volkswagen ID.3 Modelyear 2021\n- Volkswagen Passat GTE Modelyear 2021\n- Cupra Born Modelyear 2022\n\n## Login & Consent\nWeConnect-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.\n\n## Reporting Issues\nPlease feel free to open an issue at [GitHub Issue page](https://github.com/tillsteinbach/WeConnect-python/issues) to report problems you found.\n\n### Known Issues\n- 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.\n- Examples and API documentation is missing\n\n## Credits\nInspired by [TA2k/ioBroker.vw-connect](https://github.com/TA2k/ioBroker.vw-connect/) that gave me a point to start working with the API\n\n## Seat, Cupra, Skoda IV, ...\nIn an effort to try to make WeConnect-python also to work with latest generation of vehicles from other volkswagen brands I'm looking for users to temporarily share access to their accounts. If you are willing to support please send me a message.\n- Already tried: Cupra Born (The API looks a bit different, maybe it is older, I will check again in some weeks), thanks to the user initdebugs\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "DONT USE. Temporary fork of weconnect for Cupra Born support",
"version": "0.49.9",
"split_keywords": [
"weconnect",
"we connect",
"carnet",
"car net",
"volkswagen",
"vw",
"telemetry"
],
"urls": [
{
"comment_text": "",
"digests": {
"md5": "785c3f86fb2a01ce4f868394a980b13f",
"sha256": "478981a9f41ee14d4b28faa560fba504c4f250cef5fcae0c34b19ddd46dbdc28"
},
"downloads": -1,
"filename": "weconnect_cupra-0.49.9-py3-none-any.whl",
"has_sig": false,
"md5_digest": "785c3f86fb2a01ce4f868394a980b13f",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.7",
"size": 182093,
"upload_time": "2022-11-30T19:41:09",
"upload_time_iso_8601": "2022-11-30T19:41:09.739641Z",
"url": "https://files.pythonhosted.org/packages/93/4d/83a49304f022d99dd77d34d0d5754adb4134ae5489df1eeba74661e75ad5/weconnect_cupra-0.49.9-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"md5": "a7cad59cf1bc75b3260363fc56e2d6c6",
"sha256": "5a970a8a0ecb6e646e88b9e5a596434b91e5a9adf5c958a9fbda14c0bd8d7952"
},
"downloads": -1,
"filename": "weconnect-cupra-0.49.9.tar.gz",
"has_sig": false,
"md5_digest": "a7cad59cf1bc75b3260363fc56e2d6c6",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.7",
"size": 142767,
"upload_time": "2022-11-30T19:41:16",
"upload_time_iso_8601": "2022-11-30T19:41:16.027061Z",
"url": "https://files.pythonhosted.org/packages/c0/e7/242e2430e0f4464c38513d75ef407c07d24f4924580a914218194ec82ebb/weconnect-cupra-0.49.9.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2022-11-30 19:41:16",
"github": true,
"gitlab": false,
"bitbucket": false,
"github_user": "tillsteinbach",
"github_project": "WeConnect-python",
"travis_ci": false,
"coveralls": true,
"github_actions": true,
"requirements": [
{
"name": "requests",
"specs": [
[
"~=",
"2.28.1"
]
]
},
{
"name": "oauthlib",
"specs": [
[
"~=",
"3.2.2"
]
]
}
],
"test_requirements": [
{
"name": "pytest",
"specs": []
},
{
"name": "pytest-httpserver",
"specs": []
},
{
"name": "pytest-cov",
"specs": []
}
],
"lcname": "weconnect-cupra"
}