{"id":18452742,"url":"https://github.com/juliuste/bilkom","last_synced_at":"2025-04-08T03:34:50.978Z","repository":{"id":73760940,"uuid":"128423360","full_name":"juliuste/bilkom","owner":"juliuste","description":"Client for the polish Bilkom (PKP) railway API.","archived":true,"fork":false,"pushed_at":"2020-06-01T07:38:39.000Z","size":103,"stargazers_count":29,"open_issues_count":4,"forks_count":2,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-04-06T19:22:10.780Z","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-04-06T17:11:21.000Z","updated_at":"2025-04-06T19:17:49.000Z","dependencies_parsed_at":null,"dependency_job_id":"23e8b88e-5b46-4577-8890-fa9d7e20e50a","html_url":"https://github.com/juliuste/bilkom","commit_stats":{"total_commits":19,"total_committers":2,"mean_commits":9.5,"dds":"0.052631578947368474","last_synced_commit":"1a613887d83a13e45c627c5d706aba572d27b89c"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/juliuste%2Fbilkom","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/juliuste%2Fbilkom/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/juliuste%2Fbilkom/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/juliuste%2Fbilkom/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/juliuste","download_url":"https://codeload.github.com/juliuste/bilkom/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-11-06T07:33:02.385Z","updated_at":"2025-04-08T03:34:50.959Z","avatar_url":"https://github.com/juliuste.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# bilkom\n\nJavaScript client and scraper for the [bilkom](https://bilkom.pl) PKP railway API\\*. Complies with the [friendly public transport format](https://github.com/public-transport/friendly-public-transport-format). Inofficial, using *bilkom* endpoints. Ask them for permission before using this module in production. *Work in progress.*\n\n\\*Some methods query an API, some other methods scrape data from the website.\n\n[![npm version](https://img.shields.io/npm/v/bilkom.svg)](https://www.npmjs.com/package/bilkom)\n[![Build Status](https://travis-ci.org/juliuste/bilkom.svg?branch=master)](https://travis-ci.org/juliuste/bilkom)\n[![Greenkeeper badge](https://badges.greenkeeper.io/juliuste/bilkom.svg)](https://greenkeeper.io/)\n[![dependency status](https://img.shields.io/david/juliuste/bilkom.svg)](https://david-dm.org/juliuste/bilkom)\n[![license](https://img.shields.io/github/license/juliuste/bilkom.svg?style=flat)](LICENSE)\n[![fptf version](https://fptf.badges.juliustens.eu/badge/juliuste/bilkom)](https://fptf.badges.juliustens.eu/link/juliuste/bilkom)\n[![chat on gitter](https://badges.gitter.im/juliuste.svg)](https://gitter.im/juliuste)\n\n## Installation\n\n```shell\nnpm install --save bilkom\n```\n\n## Usage\n\n```javascript\nconst bilkom = require('bilkom')\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(opt)`](docs/stations.md) to get a list of operated stations (or search for a specific query), such as `Warszawa Centralna` or `Gdańsk Główny`.  (Only stations in Poland.)\n- [`journeys(origin, destination, date, opt)`](docs/journeys.md) to get routes between stations.\n- [`departures(station, date)`](docs/departures.md) to get departures at a given station.\n- [`journeyLeg(ref, product, lineId)`](docs/journeyLeg.md) to get details for a specific journey leg returned by `journeys` or `departures`.\n\n## Similar Projects\n\n- [pkp-ic](https://github.com/juliuste/pkp-ic/) - Client for the PKP Intercity API (older, doesn't have prices)\n- [koleo](https://github.com/juliuste/koleo/) - Client for the Koleo API (inofficial)\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/bilkom/issues).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjuliuste%2Fbilkom","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjuliuste%2Fbilkom","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjuliuste%2Fbilkom/lists"}