mytoyota


Namemytoyota JSON
Version 2.1.4 PyPI version JSON
download
home_pagehttps://github.com/DurgNomis-drol/mytoyota
SummaryPython client for Toyota Connected Services.
upload_time2024-08-14 06:18:15
maintainerNone
docs_urlNone
authorSimon Grud Hansen
requires_python<4.0,>=3.9
licenseMIT
keywords toyota car myt
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            ![GitHub Workflow](https://img.shields.io/github/actions/workflow/status/DurgNomis-drol/mytoyota/build.yml)
![Codecov](https://img.shields.io/codecov/c/github/DurgNomis-drol/mytoyota)
![Commit activity](https://img.shields.io/github/commit-activity/y/DurgNomis-drol/mytoyota)
![GitHub Release](https://img.shields.io/github/release/DurgNomis-drol/mytoyota.svg)
![PyPI - Downloads](https://img.shields.io/pypi/dm/mytoyota)

# Toyota Connected Services Europe Python module

<b><p align=center> 🚨 Breaking changes ahead 🚨 </p></b>

 <p align=center> 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. </p>
 <p align=center> Users of the old MyT app should use a mytoyota python module version < 1.0.0. </p>

⚠️ _This is still in beta_

⚠️ _Only EU is supported, other regions are not possible so far. See [this](https://github.com/widewing/toyota-na) for North America_

## 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`.

```text
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:

```bash
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](https://github.com/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](https://github.com/calmjm) for making [tojota](https://github.com/calmjm/tojota).

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/DurgNomis-drol/mytoyota",
    "name": "mytoyota",
    "maintainer": null,
    "docs_url": null,
    "requires_python": "<4.0,>=3.9",
    "maintainer_email": null,
    "keywords": "Toyota, Car, MYT",
    "author": "Simon Grud Hansen",
    "author_email": "simongrud@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/5b/f1/1b5e078e33d059dd623e14deabaa95595fc8e2997c8310cfc19fa4387d49/mytoyota-2.1.4.tar.gz",
    "platform": null,
    "description": "![GitHub Workflow](https://img.shields.io/github/actions/workflow/status/DurgNomis-drol/mytoyota/build.yml)\n![Codecov](https://img.shields.io/codecov/c/github/DurgNomis-drol/mytoyota)\n![Commit activity](https://img.shields.io/github/commit-activity/y/DurgNomis-drol/mytoyota)\n![GitHub Release](https://img.shields.io/github/release/DurgNomis-drol/mytoyota.svg)\n![PyPI - Downloads](https://img.shields.io/pypi/dm/mytoyota)\n\n# Toyota Connected Services Europe Python module\n\n<b><p align=center> \ud83d\udea8 Breaking changes ahead \ud83d\udea8 </p></b>\n\n <p align=center> 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. </p>\n <p align=center> Users of the old MyT app should use a mytoyota python module version < 1.0.0. </p>\n\n\u26a0\ufe0f _This is still in beta_\n\n\u26a0\ufe0f _Only EU is supported, other regions are not possible so far. See [this](https://github.com/widewing/toyota-na) for North America_\n\n## Description\n\nPython 3 package to communicate with [Toyota Connected Europe](https://www.toyota-europe.com/about-us/toyota-in-europe/toyota-connected-europe) Services.\nThis is an unofficial package and Toyota can change their API at any point without warning.\n\n## Installation\n\nThis package can be installed through `pip`.\n\n```text\npip install mytoyota\n```\n\n## Usage\n\nFor 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:\n\n```bash\npython -m venv mytoyota\nsource mytoyota/bin/activate\npython -m pip install \"mytoyota @ git+https://github.com/DurgNomis-drol/mytoyota@master\"\ncurl -LO https://raw.githubusercontent.com/GitOldGrumpy/mytoyota/master/simple_client_example.py\n# Create a credentials.json file with {\"username\":\"your@mail.tld\",\"password\":\"yourpassword\"}\npython simple_client_example.py\n```\n\n## Known issues\n\n- 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.\n- Currently, it is only possible to get various vehicle information. Functions for controlling and setting vehicle properties have not yet been implemented.\n\n## Docs\n\nComing soon...\n\n## Contributing\n\nThis python module uses poetry (>= 1.2.2) and pre-commit.\n\nTo 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/`.\n\n## Note\n\nAs I [@DurgNomis-drol](https://github.com/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.\n\n## Credits\n\nA huge thanks go to [@calmjm](https://github.com/calmjm) for making [tojota](https://github.com/calmjm/tojota).\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Python client for Toyota Connected Services.",
    "version": "2.1.4",
    "project_urls": {
        "Bug Tracker": "https://github.com/DurgNomis-drol/mytoyota/issues",
        "Homepage": "https://github.com/DurgNomis-drol/mytoyota",
        "Release Notes": "https://github.com/DurgNomis-drol/mytoyota/releases",
        "Repository": "https://github.com/DurgNomis-drol/mytoyota"
    },
    "split_keywords": [
        "toyota",
        " car",
        " myt"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "48e0a943a063648fd9d03622375d337eb1dc41cfed72e2edb0866207f0822e44",
                "md5": "93439e71263b11fc167f5150c6ec1645",
                "sha256": "674dd3d663aa87b7cc68d494e2b49e88e8aa150402835eba38875e703111c15c"
            },
            "downloads": -1,
            "filename": "mytoyota-2.1.4-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "93439e71263b11fc167f5150c6ec1645",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4.0,>=3.9",
            "size": 42509,
            "upload_time": "2024-08-14T06:18:13",
            "upload_time_iso_8601": "2024-08-14T06:18:13.666307Z",
            "url": "https://files.pythonhosted.org/packages/48/e0/a943a063648fd9d03622375d337eb1dc41cfed72e2edb0866207f0822e44/mytoyota-2.1.4-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "5bf11b5e078e33d059dd623e14deabaa95595fc8e2997c8310cfc19fa4387d49",
                "md5": "bef25fc1666f078ed252d5f5e65b9ad0",
                "sha256": "c21f0432b8ee5321365d2b515b866dad7db94c9c4fc74b1d28eeab4c8643cad5"
            },
            "downloads": -1,
            "filename": "mytoyota-2.1.4.tar.gz",
            "has_sig": false,
            "md5_digest": "bef25fc1666f078ed252d5f5e65b9ad0",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<4.0,>=3.9",
            "size": 32185,
            "upload_time": "2024-08-14T06:18:15",
            "upload_time_iso_8601": "2024-08-14T06:18:15.016297Z",
            "url": "https://files.pythonhosted.org/packages/5b/f1/1b5e078e33d059dd623e14deabaa95595fc8e2997c8310cfc19fa4387d49/mytoyota-2.1.4.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-08-14 06:18:15",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "DurgNomis-drol",
    "github_project": "mytoyota",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "mytoyota"
}
        
Elapsed time: 4.52504s