{"id":41013737,"url":"https://github.com/alanzchen/mymazda-relay","last_synced_at":"2026-01-22T09:13:00.738Z","repository":{"id":46450923,"uuid":"440650568","full_name":"alanzchen/mymazda-relay","owner":"alanzchen","description":"Mazda Connected Service API wrapper based on pymazda and Flask.","archived":false,"fork":false,"pushed_at":"2022-12-28T20:03:36.000Z","size":12,"stargazers_count":11,"open_issues_count":0,"forks_count":7,"subscribers_count":4,"default_branch":"main","last_synced_at":"2023-04-04T20:43:08.661Z","etag":null,"topics":["mazda"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/alanzchen.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-12-21T21:07:10.000Z","updated_at":"2023-03-02T05:12:03.000Z","dependencies_parsed_at":"2023-01-31T07:15:55.576Z","dependency_job_id":null,"html_url":"https://github.com/alanzchen/mymazda-relay","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"purl":"pkg:github/alanzchen/mymazda-relay","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alanzchen%2Fmymazda-relay","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alanzchen%2Fmymazda-relay/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alanzchen%2Fmymazda-relay/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alanzchen%2Fmymazda-relay/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alanzchen","download_url":"https://codeload.github.com/alanzchen/mymazda-relay/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alanzchen%2Fmymazda-relay/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28660109,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-22T01:17:37.254Z","status":"online","status_checked_at":"2026-01-22T02:00:07.137Z","response_time":144,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["mazda"],"created_at":"2026-01-22T09:13:00.139Z","updated_at":"2026-01-22T09:13:00.728Z","avatar_url":"https://github.com/alanzchen.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Mazda Connected Service Relay\n\nMazda Connected Service API wrapper based on pymazda and Flask.\n\n# Deployment \n\nDocker can be used to deploy the project locally, simply do `docker-compose up -d`. \n\nThis installs the requirements and launchs the flask server behind a `gunicorn` reverse proxy running on port 5001 in a docker container.\n\n# Usage\n\nMake `POST` calls to `https://mymazda.herokuapp.com/{endpoint}`, where `endpoint` could be something like `startEngine`. To make a valid request, you will need to attach a JSON payload with the following fields:\n\n```json\n{\n  \"username\": your_mazda_email,\n  \"password\": your_mazda_password,\n  \"vid\": internal_vehicle_id,\n  \"region\": your_region\n}\n```\n\n - `vid`: To obtain the `vid` for your vehicle, you can first make a `POST` call to `https://mymazda.herokuapp.com/vehicles` with just the `username` and `password` as the JSON payload. After getting a list of vehicles, find `id` associated with it. It will be the `vid` of your future API requests.\n - `region`: If you are living in the US, you can omit this field or fill in `MNAO`. Otherwise, it should be `MME` for EU, and `MJO` for Japan.\n\nBelow are some examples of API usage. To see a full list of API endpoints, see `app.py`. \n\n## Example: Start / Stop Engine\n\n`POST` the above JSON to `https://mymazda.herokuapp.com/startEngine` or `https://mymazda.herokuapp.com/stopEngine` to start / stop the engine.\n\n## Example: Send navigation destination to infortainment\n\nSend the following JSON to `https://mymazda.herokuapp.com/sendPOI`. Note that you need the navigation SD card for it to work.\n\n```json\n{\n  \"username\": your_mazda_email,\n  \"password\": your_mazda_password,\n  \"vid\": internal_vehicle_id,\n  \"longitude\": longitude_float,\n  \"latitude\": latitude_float,\n  \"name\": name\n}\n```\n\n# iOS Shortcuts Example\n\n - [Send Apple Maps location to your vehicle](https://www.icloud.com/shortcuts/3e6b090e5b3c43968710d5daf6be3fa0)\n - [Start Engine](https://www.icloud.com/shortcuts/3950a9c831cb4f4eb4122863cfe8fa9b)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falanzchen%2Fmymazda-relay","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falanzchen%2Fmymazda-relay","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falanzchen%2Fmymazda-relay/lists"}