{"id":17371942,"url":"https://github.com/juliuste/koleo","last_synced_at":"2025-04-08T03:34:44.577Z","repository":{"id":73761432,"uuid":"127046173","full_name":"juliuste/koleo","owner":"juliuste","description":"Client for the Polish Koleo (PKP) train API.","archived":true,"fork":false,"pushed_at":"2020-06-01T07:38:30.000Z","size":57,"stargazers_count":18,"open_issues_count":4,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-06T19:22:11.019Z","etag":null,"topics":["library","public-transport","railway"],"latest_commit_sha":null,"homepage":null,"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":"2018-03-27T21:08:48.000Z","updated_at":"2025-04-06T19:17:33.000Z","dependencies_parsed_at":"2023-06-18T04:33:47.830Z","dependency_job_id":null,"html_url":"https://github.com/juliuste/koleo","commit_stats":{"total_commits":7,"total_committers":2,"mean_commits":3.5,"dds":0.2857142857142857,"last_synced_commit":"ca3d11e5758da7790a8c40cddc9496bda63423c9"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/juliuste%2Fkoleo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/juliuste%2Fkoleo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/juliuste%2Fkoleo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/juliuste%2Fkoleo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/juliuste","download_url":"https://codeload.github.com/juliuste/koleo/tar.gz/refs/heads/master","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":["library","public-transport","railway"],"created_at":"2024-10-16T01:09:17.869Z","updated_at":"2025-04-08T03:34:44.568Z","avatar_url":"https://github.com/juliuste.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# koleo\n\nJavaScript client for the Polish [Koleo](https://koleo.pl/) (PKP) train API. Complies with the [friendly public transport format](https://github.com/public-transport/friendly-public-transport-format). Inofficial, using endpoints by *Koleo*. Ask them for permission before using this module in production.\n\n**You should probably refer to the newer [bilkom](https://github.com/juliuste/bilkom) package instead.**\n\n[![npm version](https://img.shields.io/npm/v/koleo.svg)](https://www.npmjs.com/package/koleo)\n[![Build Status](https://travis-ci.org/juliuste/koleo.svg?branch=master)](https://travis-ci.org/juliuste/koleo)\n[![Greenkeeper badge](https://badges.greenkeeper.io/juliuste/koleo.svg)](https://greenkeeper.io/)\n[![dependency status](https://img.shields.io/david/juliuste/koleo.svg)](https://david-dm.org/juliuste/koleo)\n[![license](https://img.shields.io/github/license/juliuste/koleo.svg?style=flat)](LICENSE)\n[![fptf version](https://fptf.badges.juliustens.eu/badge/juliuste/koleo)](https://fptf.badges.juliustens.eu/link/juliuste/koleo)\n[![chat on gitter](https://badges.gitter.im/public-transport.svg)](https://gitter.im/public-transport)\n\n## Installation\n\n```shell\nnpm install koleo\n```\n\n## Usage\n\n```javascript\nconst koleo = require('koleo')\n```\n\nThis package contains data in the [*Friendly Public Transport Format*](https://github.com/public-transport/friendly-public-transport-format) and provides the following methods:\n\n- [`stations()`](docs/stations.md) to get a list of all operated stations such as `Warszawa Centralna` or `Gdańsk Glowny`.\n- [`operators()`](docs/operators.md) to get a list of all operators/brands.\n- [`journeys(origin, destination, date)`](docs/journeys.md) to get routes between stations.\n- [`price(journeyId)`](docs/price.md) to get pricing information for a specific journey.\n\n## Similar Projects\n\n- [bilkom](https://github.com/juliuste/bilkom) - Client for the new polish Bilkom (PKP) API (includes price information)\n- [pkp-ic](https://github.com/juliuste/pkp-ic/) - Client for the PKP Intercity API (doesn't have prices)\n- [meinfernbus](https://github.com/juliuste/meinfernbus/) – Client for the Flixbus/Meinfernbus API\n- [db-hafas](https://github.com/derhuerst/db-hafas/) - Client for the german railways (DB) API\n- [db-prices](https://github.com/juliuste/db-prices/) - Client for the german railways (DB) price API\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/koleo/issues).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjuliuste%2Fkoleo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjuliuste%2Fkoleo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjuliuste%2Fkoleo/lists"}