{"id":15378654,"url":"https://github.com/abdonrd/time-for-vbus-api","last_synced_at":"2025-04-15T17:24:12.271Z","repository":{"id":31669032,"uuid":"35234492","full_name":"abdonrd/time-for-vbus-api","owner":"abdonrd","description":"Time for Vbus API wraps the WSDL service of Vitrasa for get the stops and the buses estimates in JSON format.","archived":false,"fork":false,"pushed_at":"2018-04-12T19:18:03.000Z","size":240,"stargazers_count":6,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-28T23:04:08.599Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/abdonrd.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-05-07T17:46:40.000Z","updated_at":"2020-02-12T09:05:05.000Z","dependencies_parsed_at":"2022-09-10T07:02:11.948Z","dependency_job_id":null,"html_url":"https://github.com/abdonrd/time-for-vbus-api","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abdonrd%2Ftime-for-vbus-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abdonrd%2Ftime-for-vbus-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abdonrd%2Ftime-for-vbus-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abdonrd%2Ftime-for-vbus-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/abdonrd","download_url":"https://codeload.github.com/abdonrd/time-for-vbus-api/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249117048,"owners_count":21215328,"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":[],"created_at":"2024-10-01T14:16:25.039Z","updated_at":"2025-04-15T17:24:12.249Z","avatar_url":"https://github.com/abdonrd.png","language":"Python","readme":"# Time for Vbus API\n\nTime for Vbus API wraps the WSDL service of Vitrasa for get the stops and the\nbuses estimates in JSON format.\n\n\n## Endpoints\n\n* [Get all stops](#get-all-stops)\n* [Get stops around](#get-stops-around)\n* [Get stop](#get-stop)\n* [Get stop estimates](#get-stop-estimates)\n\n### Get all stops\n\n``` http\nGET /stops\n```\n\nExample:\n\n``` http\nGET /stops\n\n{\n    \"stops\": [\n        {\n            \"number\": 20,\n            \"name\": \"Abade Juan de Bastos, (C.C.Freixo)\",\n            \"location\": {\n                \"lng\": -8.74098135187851,\n                \"lat\": 42.1874372819504\n            }\n        },\n        {\n            \"number\": 40,\n            \"name\": \"Abade Juan de Bastos, 48\",\n            \"location\": {\n                \"lng\": -8.73182995565854,\n                \"lat\": 42.1913070501787\n            }\n        }\n    ]\n}\n```\n\n\n### Get stops around\n\n``` http\nGET /stops?lat=\u003clatitude\u003e\u0026lng=\u003clongitude\u003e\n```\n\nExample:\n\n``` http\nGET /stops?lat=42.2260892\u0026lng=-8.7254259\n\n{\n    \"stops\": [\n        {\n            \"number\": 14255,\n            \"name\": \"Pintor Colmeiro 23\",\n            \"location\": {\n                \"lng\": -8.72577877618138,\n                \"lat\": 42.2253189833775\n            },\n            \"distance\": 136.092\n        },\n        {\n            \"number\": 2450,\n            \"name\": \"Barcelona,36\",\n            \"location\": {\n                \"lng\": -8.72371600770132,\n                \"lat\": 42.2259534895588\n            },\n            \"distance\": 212.8333\n        }\n    ]\n}\n```\n\n\n### Get stop\n\n``` http\nGET /stops/\u003cstop_number\u003e\n```\n\nExample:\n\n``` http\nGET /stops/14255\n\n{\n    \"number\": 14255,\n    \"name\": \"Pintor Colmeiro 23\",\n    \"location\": {\n        \"lng\": -8.72577877618138,\n        \"lat\": 42.2253189833775\n    }\n}\n```\n\n\n### Get stop estimates\n\n``` http\nGET /stops/\u003cstop_number\u003e/estimates\n```\n\nExample:\n\n``` http\nGET /stops/14255/estimates\n\n{\n    \"buses\": [\n        {\n            \"line\": \"16\",\n            \"minutes\": 11,\n            \"route\": \"HISPANIDAD - COIA\"\n        }\n    ]\n}\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabdonrd%2Ftime-for-vbus-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fabdonrd%2Ftime-for-vbus-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabdonrd%2Ftime-for-vbus-api/lists"}