Skip to main content

GitHub Workflow Codecov Commit activity GitHub Release PyPI - Downloads

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 None if 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

A huge thanks go to @calmjm for making tojota.

Metadata

Release files for mytoyota 2.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mytoyota 2.1.0
File Size Uploaded Provenance
mytoyota-2.1.0.tar.gz 33.0 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for mytoyota 2.1.0
File Interpreter ABI Platform
mytoyota-2.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 77.1 kB

Release files / mytoyota-2.1.0.tar.gz

Download URL mytoyota-2.1.0.tar.gz
Size 33.0 kB
Tags Source
SHA-256 checksum
How to use checksums
19761152863c41e9a1a33e7b4b15663bcd5a08c5009f389be817b029912b1218
BLAKE2b-256 checksum
How to use checksums
06f656f3eb2bfd8010da8bd3709f16ae46a36036c1bf2c35464adb32289bbff7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.7.1 CPython/3.11.0 Linux/6.2.0-1019-azure

Release files / mytoyota-2.1.0-py3-none-any.whl

Download URL mytoyota-2.1.0-py3-none-any.whl
Size 44.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3663a33a11a8f556b2565cbdd7ee18a8260949f737031e9a4a9534b839f5bd7d
BLAKE2b-256 checksum
How to use checksums
9808c3ca6a0aa07933f686195a895b7be991efa9ef66d79150b60447d60bf4ce
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.7.1 CPython/3.11.0 Linux/6.2.0-1019-azure

Security for mytoyota 2.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

2.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page