{"id":17795975,"url":"https://github.com/adman/python-cpsk-api","last_synced_at":"2025-03-17T00:33:58.464Z","repository":{"id":22545843,"uuid":"25886789","full_name":"Adman/python-cpsk-api","owner":"Adman","description":"An unofficial api for grabbing data from cp.sk","archived":false,"fork":false,"pushed_at":"2024-12-04T21:51:31.000Z","size":37,"stargazers_count":3,"open_issues_count":1,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-27T15:37:50.571Z","etag":null,"topics":["bus","slovakia","train","transport","travel"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Adman.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2014-10-28T19:40:55.000Z","updated_at":"2024-12-04T21:51:36.000Z","dependencies_parsed_at":"2024-10-27T12:09:59.819Z","dependency_job_id":null,"html_url":"https://github.com/Adman/python-cpsk-api","commit_stats":{"total_commits":55,"total_committers":5,"mean_commits":11.0,"dds":"0.21818181818181814","last_synced_commit":"5437f47ebcc4638f20b0c24b63f9022ed5badc22"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Adman%2Fpython-cpsk-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Adman%2Fpython-cpsk-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Adman%2Fpython-cpsk-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Adman%2Fpython-cpsk-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Adman","download_url":"https://codeload.github.com/Adman/python-cpsk-api/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243835942,"owners_count":20355611,"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":["bus","slovakia","train","transport","travel"],"created_at":"2024-10-27T11:40:02.015Z","updated_at":"2025-03-17T00:33:58.211Z","avatar_url":"https://github.com/Adman.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# python-cpsk-api ![travis](https://travis-ci.org/Adman/python-cpsk-api.svg?branch=master)\n\nSimple python api for grabbing data from cp.sk\n\n## Installation\n\nAvailable on [pypi](https://pypi.org/project/cpsk/)\n\nRunning `$ pip install cpsk` will get the package installed\n\n## Usage\n\n```python\nimport cpsk\ndrive = cpsk.get_routes('Bratislava', 'Praha', **kwargs)\n```\n\n### Available kwargs\n\n| parameter | type    | description                                                                        |\n| --------- | ------- | ---------------------------------------------------------------------------------- |\n| `vehicle` | string  | Vehicle to travel with. Default `vlakbus`. Available: `vlak`, `bus`, `vlakbusmhd`. |\n| `time`    | string  | Departure time. Defaults to current time.                                          |\n| `date`    | string  | Departure date. Defaults to current date.                                          |\n| `direct`  | boolean | Whether to look only for direct routes. Defaults to `False`.                       |\n\n\n*Beware that by using this you might be violating cp.sk ToS*\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadman%2Fpython-cpsk-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fadman%2Fpython-cpsk-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadman%2Fpython-cpsk-api/lists"}