{"id":21334826,"url":"https://github.com/j03-dev/bus_antsirabe_api","last_synced_at":"2025-03-16T01:41:52.031Z","repository":{"id":214023658,"uuid":"735329212","full_name":"j03-dev/bus_antsirabe_api","owner":"j03-dev","description":"Antsirabe bus API","archived":false,"fork":false,"pushed_at":"2025-03-03T19:56:25.000Z","size":104,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-03T20:36:05.712Z","etag":null,"topics":["api","fast","rest","rust"],"latest_commit_sha":null,"homepage":"","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/j03-dev.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-12-24T14:12:18.000Z","updated_at":"2025-03-03T19:56:28.000Z","dependencies_parsed_at":"2023-12-25T08:29:59.818Z","dependency_job_id":"24dc0f06-54c5-438d-9673-04871e71b501","html_url":"https://github.com/j03-dev/bus_antsirabe_api","commit_stats":null,"previous_names":["j03-dev/bus_antsirabe_api"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/j03-dev%2Fbus_antsirabe_api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/j03-dev%2Fbus_antsirabe_api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/j03-dev%2Fbus_antsirabe_api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/j03-dev%2Fbus_antsirabe_api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/j03-dev","download_url":"https://codeload.github.com/j03-dev/bus_antsirabe_api/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243814854,"owners_count":20352037,"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":["api","fast","rest","rust"],"created_at":"2024-11-21T23:34:52.808Z","updated_at":"2025-03-16T01:41:52.021Z","avatar_url":"https://github.com/j03-dev.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"# Bus Antsirabe API\n\nA simple REST API for retrieving bus line and travel information for Antsirabe.\n\n## Endpoints\n\n### GET /api/travel\n\nReturns a list of all available travels with their IDs and names.\n\nResponse format:\n```json\n{\n  \"travel_id\": \"travel_name\"\n}\n```\n\n### POST /api/travel\n\nFind bus lines between two points.\n\nRequest body:\n```json\n{\n  \"primus\": \"starting_point_id\",\n  \"terminus\": \"destination_id\"\n}\n```\n\nResponse format:\n```json\n[\"bus_line_1\", \"bus_line_2\"]\n```\n\n## Running locally\n\n1. Clone the repository\n2. Install dependencies: `pip install oxhttp`\n3. Run the server: `python main.py`\n4. API will be available at http://localhost:8080\n\n## Data\n\nBus line data is stored in `travel.json` and loaded on startup.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fj03-dev%2Fbus_antsirabe_api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fj03-dev%2Fbus_antsirabe_api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fj03-dev%2Fbus_antsirabe_api/lists"}