mytoyota


Namemytoyota JSON
Version 2.1.2 PyPI version JSON
download
home_pagehttps://github.com/DurgNomis-drol/mytoyota
SummaryPython client for Toyota Connected Services.
upload_time2024-04-18 06:13:29
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/7d/4f/c88cffb4466a197ed2458c6589019971ecd1bbba73418db408cfe5e6efa9/mytoyota-2.1.2.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.2",
    "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": "caf018ac0158f1b3cc51a11e28fda07bf4360e57f141a383982959c15191f6ba",
                "md5": "172b134a601e8ebd010c28a42f45aab4",
                "sha256": "d076a4d7b726693df59fee03067cf8bfcc563a3ea9e567210548ec71490b1fb0"
            },
            "downloads": -1,
            "filename": "mytoyota-2.1.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "172b134a601e8ebd010c28a42f45aab4",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4.0,>=3.9",
            "size": 42453,
            "upload_time": "2024-04-18T06:13:27",
            "upload_time_iso_8601": "2024-04-18T06:13:27.151463Z",
            "url": "https://files.pythonhosted.org/packages/ca/f0/18ac0158f1b3cc51a11e28fda07bf4360e57f141a383982959c15191f6ba/mytoyota-2.1.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "7d4fc88cffb4466a197ed2458c6589019971ecd1bbba73418db408cfe5e6efa9",
                "md5": "de865b32678136cf9160a681169a5373",
                "sha256": "7113aea2ef1ab50635e8cf0969ce2cb1ccad7ccf11e93dbb0e1788fa9d72b2af"
            },
            "downloads": -1,
            "filename": "mytoyota-2.1.2.tar.gz",
            "has_sig": false,
            "md5_digest": "de865b32678136cf9160a681169a5373",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<4.0,>=3.9",
            "size": 32105,
            "upload_time": "2024-04-18T06:13:29",
            "upload_time_iso_8601": "2024-04-18T06:13:29.806052Z",
            "url": "https://files.pythonhosted.org/packages/7d/4f/c88cffb4466a197ed2458c6589019971ecd1bbba73418db408cfe5e6efa9/mytoyota-2.1.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-04-18 06:13:29",
    "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: 0.25838s