{"id":16692614,"url":"https://github.com/platisd/vasttrafik-google-assistant","last_synced_at":"2025-06-23T11:35:57.462Z","repository":{"id":145722487,"uuid":"140770913","full_name":"platisd/vasttrafik-google-assistant","owner":"platisd","description":"Make your Google Assistant talk to Västtrafik","archived":false,"fork":false,"pushed_at":"2019-04-10T20:37:52.000Z","size":20,"stargazers_count":8,"open_issues_count":1,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-10T01:15:08.049Z","etag":null,"topics":["flask","google-actions","google-assistant","python","rest-api","vasttrafik"],"latest_commit_sha":null,"homepage":null,"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/platisd.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-07-12T22:33:41.000Z","updated_at":"2024-10-06T21:36:25.000Z","dependencies_parsed_at":null,"dependency_job_id":"50f89bff-2d97-4ba9-bb3d-824db49eac30","html_url":"https://github.com/platisd/vasttrafik-google-assistant","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/platisd/vasttrafik-google-assistant","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/platisd%2Fvasttrafik-google-assistant","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/platisd%2Fvasttrafik-google-assistant/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/platisd%2Fvasttrafik-google-assistant/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/platisd%2Fvasttrafik-google-assistant/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/platisd","download_url":"https://codeload.github.com/platisd/vasttrafik-google-assistant/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/platisd%2Fvasttrafik-google-assistant/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261469577,"owners_count":23163128,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["flask","google-actions","google-assistant","python","rest-api","vasttrafik"],"created_at":"2024-10-12T16:27:48.253Z","updated_at":"2025-06-23T11:35:52.446Z","avatar_url":"https://github.com/platisd.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# VasttraPi on Google Assistant\nA simple Python web server, in Flask, which is interfaced with an Action on Google Assistant. The server reuses code from [VasttraPi](https://github.com/platisd/vasttraPi) to communicate with Västtrafik so to fetch the latest departures for the selected stations.\n\nRead more about the project [here](https://platis.solutions/blog/2018/07/15/custom-actions-for-google-assistant/).\n\n![VasttraPi and Google Home Mini](https://i.imgur.com/4Erjr1K.jpg)\n\n## Get started\nIf you want a custom Google Action that talks to a sample Python server, then please follow this [Instructable](https://www.instructables.com/id/Create-Custom-Actions-for-Google-Assistant/).\n\nTo set up a REST server that retrieves departures from Västtrafik:\n* Install PyTrafik\n  * `git clone https://github.com/axelniklasson/PyTrafik.git`\n  * `sudo pip3 install PyTrafik/`\n* Create an `api-config` file in the root folder of this repository with your [Västtrafik API tokens](https://developer.vasttrafik.se/portal/#/applications)\n* Edit `bus_assistant.py` by providing your business logic (e.g. stations of interest)\n* Run `bus_assistant.py`\n  * `python3 bus_assistant.py`\n\n## Media\n* [Demo video](https://www.youtube.com/watch?v=Qh_gcRqFTzE)\n* [Article on platis.solutions](https://platis.solutions/blog/2018/07/15/custom-actions-for-google-assistant/)\n* [Tutorial on Instructables](https://www.instructables.com/id/Create-Custom-Actions-for-Google-Assistant/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fplatisd%2Fvasttrafik-google-assistant","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fplatisd%2Fvasttrafik-google-assistant","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fplatisd%2Fvasttrafik-google-assistant/lists"}