Toyota Connected Services Europe Python module
🚨 Breaking changes ahead 🚨
Version 1.0.0 only supports the new ctpa-oneapi API endpoints that were introduced with the new MyToyota app. Some functions are not yet implemented and must first be determined due to the lack of API documentation.
Users of the old MyT app should use a mytoyota python module version < 1.0.0.
⚠️ This is still in beta
⚠️ Only EU is supported, other regions are not possible so far. See this for North America
Description
Python 3 package to communicate with Toyota Connected Europe Services. This is an unofficial package and Toyota can change their API at any point without warning.
Installation
This package can be installed through pip.
pip install mytoyota
Usage
For a quick start on how to use the package take a look at the simple_client_example.py file contained in the report. You can also use and execute this file directly by using the following commands:
python -m venv mytoyota
source mytoyota/bin/activate
python -m pip install "mytoyota @ git+https://github.com/DurgNomis-drol/mytoyota@master"
curl -LO https://raw.githubusercontent.com/GitOldGrumpy/mytoyota/master/simple_client_example.py
# Create a credentials.json file with {"username":"your@mail.tld","password":"yourpassword"}
python simple_client_example.py
Known issues
- Statistical endpoint will return
Noneif no trip have been performed in the requested timeframe. This problem will often happen at the start of each week, month or year. Also daily stats will of course also be unavailable if no trip have been performed. - Currently, it is only possible to get various vehicle information. Functions for controlling and setting vehicle properties have not yet been implemented.
Docs
Coming soon...
Contributing
This python module uses poetry (>= 1.2.2) and pre-commit.
To start contributing, fork this repository and run poetry install. Then create a new branch. Before making a PR, please run pre-commit poetry run pre-commit run --all-files and make sure that all tests passes locally first by running pytest tests/.
Note
As I @DurgNomis-drol am not a professional programmer. I will try to maintain it as best as I can. If someone is interested in helping with this, they are more the welcome to message me to be a collaborator on this project.
Credits
Release files for mytoyota 2.2.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| mytoyota-2.2.2.tar.gz | 32.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| mytoyota-2.2.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 76.6 kB
Release files / mytoyota-2.2.2.tar.gz
| Download URL | mytoyota-2.2.2.tar.gz |
|---|---|
| Size | 32.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
29a4c3555966f918ece02879fba65b6bdebbb5e267088c7d8b1749a06cf6cc32
|
|
BLAKE2b-256 checksum How to use checksums |
a82d89613a1438cf4621bc0121a4f19d54d8d00aea78ada70842a5eb0ff48737
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.1.1 CPython/3.11.0 Linux/6.8.0-1021-azure
|
Release files / mytoyota-2.2.2-py3-none-any.whl
| Download URL | mytoyota-2.2.2-py3-none-any.whl |
|---|---|
| Size | 44.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d45f4737db1cd5089961dd6764b27798d92079961b3085b463c0642a766aab23
|
|
BLAKE2b-256 checksum How to use checksums |
dfad82b2a47ce332c1ab55cd3cef6bbe28883e42be3f9d31758e42ba32e51ee5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.1.1 CPython/3.11.0 Linux/6.8.0-1021-azure
|