https://github.com/pytoyoda/pytoyoda
Python client for Toyota Connected Services API Europe
https://github.com/pytoyoda/pytoyoda
api car toyota vehicle
Last synced: 6 months ago
JSON representation
Python client for Toyota Connected Services API Europe
- Host: GitHub
- URL: https://github.com/pytoyoda/pytoyoda
- Owner: pytoyoda
- License: mit
- Created: 2025-02-24T18:55:07.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-12-27T16:50:24.000Z (6 months ago)
- Last Synced: 2025-12-29T13:58:30.134Z (6 months ago)
- Topics: api, car, toyota, vehicle
- Language: Python
- Homepage: https://pytoyoda.github.io/pytoyoda/
- Size: 1.57 MB
- Stars: 53
- Watchers: 6
- Forks: 21
- Open Issues: 17
-
Metadata Files:
- Readme: README.md
- Contributing: .github/CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
[](LICENSE)
[](https://pypi.org/project/pytoyoda/)
[](https://pypi.org/project/pytoyoda/)
[](https://github.com/zyf722/poetry-plugin-migrate/actions/workflows/build.yml)
[](https://app.codecov.io/github/pytoyoda/pytoyoda/)
[](https://github.com/pytoyoda/pytoyoda/actions/workflows/codeql.yml)
# Toyota Connected Services Europe Python module
⚠️ _This is still in beta_
⚠️ _Only EU is supported, other regions are not possible so far._
## Summary
- [Toyota Connected Services Europe Python module](#toyota-connected-services-europe-python-module)
- [Description](#description)
- [Installation](#installation)
- [Docs](#docs)
- [Usage](#usage)
- [Known issues](#known-issues)
- [Contributing](#contributing)
- [Note](#note)
- [Credits](#credits)
## Description
Python 3 package to communicate with [Toyota Connected Europe](https://www.toyota-europe.com/about-us/toyota-in-europe/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`.
```bash
pip install pytoyoda
```
## Docs
https://pytoyoda.github.io/pytoyoda/pytoyoda.html
## 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:
```bash
python -m venv pytoyoda
source pytoyoda/bin/activate
python -m pip install "pytoyoda@git+https://github.com/pytoyoda/pytoyoda@main"
curl -LO https://raw.githubusercontent.com/pytoyoda/pytoyoda/main/sandbox/simple_client_example.py
# Create a credentials.json file with {"username":"your@mail.tld","password":"yourpassword"}
python simple_client_example.py
```
Please note that the `simple_client_example.py` file is only to be regarded as a playground and is intended to provide an initial insight into the possibilities. It is not an officially supported interface of the pytoyoda API!
For an overview of the current official interfaces, please take a look at our [documentation](https://pytoyoda.github.io/pytoyoda/pytoyoda/models/vehicle.html).
## 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.
## Contributing
This python module uses poetry (>= 2.0.0) 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
This is a friendly community fork of the original project by [@DurgNomis-drol](https://github.com/DurgNomis-drol),
to ease up on maintenance and the [bus factor](https://en.wikipedia.org/wiki/Bus_factor) for this project.
## Credits
Special thanks go [@DurgNomis-drol](https://github.com/DurgNomis-drol) for starting this project!
A huge thanks go to [@calmjm](https://github.com/calmjm) for making [tojota](https://github.com/calmjm/tojota).