{"id":17372135,"url":"https://github.com/juliuste/flix-rest","last_synced_at":"2025-04-08T03:34:40.336Z","repository":{"id":73761295,"uuid":"96599528","full_name":"juliuste/flix-rest","owner":"juliuste","description":"REST endpoint for the FlixBus (Meinfernbus) / FlixTrain API.","archived":false,"fork":false,"pushed_at":"2021-10-24T09:24:41.000Z","size":21,"stargazers_count":9,"open_issues_count":2,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-23T04:41:14.372Z","etag":null,"topics":["api","bus","coach","deployment","public-transport"],"latest_commit_sha":null,"homepage":"https://1.flixbus.transport.rest","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/juliuste.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":"2017-07-08T06:03:17.000Z","updated_at":"2025-03-07T15:15:43.000Z","dependencies_parsed_at":null,"dependency_job_id":"8048b5d3-8d46-43d2-ad8b-dac8f3a427f9","html_url":"https://github.com/juliuste/flix-rest","commit_stats":{"total_commits":15,"total_committers":2,"mean_commits":7.5,"dds":"0.19999999999999996","last_synced_commit":"2d267f40d0838e0a872746036b8af9e9a66c18a3"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/juliuste%2Fflix-rest","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/juliuste%2Fflix-rest/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/juliuste%2Fflix-rest/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/juliuste%2Fflix-rest/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/juliuste","download_url":"https://codeload.github.com/juliuste/flix-rest/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247772938,"owners_count":20993627,"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","bus","coach","deployment","public-transport"],"created_at":"2024-10-16T01:26:58.686Z","updated_at":"2025-04-08T03:34:40.308Z","avatar_url":"https://github.com/juliuste.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# meinfernbus-rest\n\nA public HTTP REST API, exposing a clean interface to query the Meinfernbus/FlixBus API. Complies with the [friendly public transport format](https://github.com/public-transport/friendly-public-transport-format). Inofficial, using endpoints by *Flixbus/MFB*. Ask them for permission before using this endpoint in production.\n\nThe public endpoint is available at `https://1.flixbus.transport.rest`.\n\n[![dependency status](https://img.shields.io/david/juliuste/meinfernbus-rest.svg)](https://david-dm.org/juliuste/meinfernbus-rest)\n[![dev dependency status](https://img.shields.io/david/dev/juliuste/meinfernbus-rest.svg)](https://david-dm.org/juliuste/meinfernbus-rest#info=devDependencies)\n[![license](https://img.shields.io/github/license/juliuste/meinfernbus-rest.svg?style=flat)](LICENSE)\n[![chat on gitter](https://badges.gitter.im/juliuste.svg)](https://gitter.im/juliuste)\n\n## `GET /regions`\n\nOutput from [`search-meinfernbus-locations`](https://github.com/derhuerst/search-meinfernbus-locations) (regions only).\n\n- `query`: **Required.** Search query\n\n```shell\ncurl 'https://1.flixbus.transport.rest/regions/?query=Frankfurt'\n```\n\n## `GET /regions/all`\n\nList of all operated regions, output from [`require('meinfernbus').regions`](https://github.com/juliuste/meinfernbus/blob/master/docs/regions.md).\n\n```shell\ncurl 'https://1.flixbus.transport.rest/regions/all'\n```\n\n## `GET /stations`\n\nOutput from [`search-meinfernbus-locations`](https://github.com/derhuerst/search-meinfernbus-locations) (stations only).\n\n- `query`: **Required.** Search query\n\n```shell\ncurl 'https://1.flixbus.transport.rest/stations/?query=Frankfurt'\n```\n\n## `GET /stations/all`\n\nList of all operated stations, output from [`require('meinfernbus').stations`](https://github.com/juliuste/meinfernbus/blob/master/docs/stations.md).\n\n```shell\ncurl 'https://1.flixbus.transport.rest/stations/all'\n```\n\n## `GET /journeys`\n\nOutput from [`require('meinfernbus').journeys`](https://github.com/juliuste/meinfernbus/blob/master/docs/journeys.md)\n\n- `origin`: Region id **or** `origin.id`: Region/station id and `origin.type`: Region/station - **Required.**\n- `destination`: Region id **or** `destination.id`: Region/station id and `destination.type`: Region/station - **Required.**\n- `date`: When? UNIX timestamp or `JS`-parsable date string. Default: now.\n- `adults`: Number of adults. Default: 1\n- `children`: Number of children. Default: 0\n- `bikes`: Number of bikes. Default: 0\n\n```shell\ncurl 'https://1.flixbus.transport.rest/journeys/?origin=88\u0026destination=1394\u0026date=2018-04-13T10:30:00'\n```\n\n## Similar Projects\n\n- [meinfernbus](https://github.com/juliuste/meinfernbus/) – Meinfernbus/FlixBus API client\n- [search-meinfernbus-locations](https://github.com/derhuerst/search-meinfernbus-locations/) – Meinfernbus location search\n- [db-hafas](https://github.com/derhuerst/db-hafas) - Deutsche Bahn (DB) API client\n- [db-prices](https://github.com/juliuste/db-prices) - Deutsche Bahn (DB) Sparpreise API client\n\n## Contributing\n\nIf you found a bug, want to propose a feature or feel the urge to complain about your life, feel free to visit [the issues page](https://github.com/juliuste/meinfernbus-rest/issues).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjuliuste%2Fflix-rest","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjuliuste%2Fflix-rest","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjuliuste%2Fflix-rest/lists"}