{"id":13723857,"url":"https://github.com/schildbach/public-transport-enabler","last_synced_at":"2025-04-07T16:17:50.030Z","repository":{"id":8662595,"uuid":"10317502","full_name":"schildbach/public-transport-enabler","owner":"schildbach","description":"Unleash public transport data in your Java project.","archived":false,"fork":false,"pushed_at":"2024-09-03T12:24:55.000Z","size":6499,"stargazers_count":388,"open_issues_count":172,"forks_count":133,"subscribers_count":19,"default_branch":"master","last_synced_at":"2024-10-29T20:38:55.277Z","etag":null,"topics":["efa","hafas","java","library","navitia","public-transportation"],"latest_commit_sha":null,"homepage":"https://groups.google.com/forum/#!forum/public-transport-enabler-discuss","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/schildbach.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"COPYING","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":"2013-05-27T15:31:24.000Z","updated_at":"2024-10-09T12:45:03.000Z","dependencies_parsed_at":"2023-09-21T19:08:02.377Z","dependency_job_id":"553a26fd-ee16-4382-b1f6-5e0e13bb2eb8","html_url":"https://github.com/schildbach/public-transport-enabler","commit_stats":{"total_commits":2539,"total_committers":52,"mean_commits":48.82692307692308,"dds":"0.43245372193777076","last_synced_commit":"3541ab1c8b6db4cf9b59acdbf6fb6d0d83d62b24"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/schildbach%2Fpublic-transport-enabler","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/schildbach%2Fpublic-transport-enabler/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/schildbach%2Fpublic-transport-enabler/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/schildbach%2Fpublic-transport-enabler/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/schildbach","download_url":"https://codeload.github.com/schildbach/public-transport-enabler/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239964468,"owners_count":19725946,"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":["efa","hafas","java","library","navitia","public-transportation"],"created_at":"2024-08-03T01:01:46.394Z","updated_at":"2025-02-22T09:09:51.873Z","avatar_url":"https://github.com/schildbach.png","language":"Java","funding_links":[],"categories":["Consumption","Energy Consumption","路由引擎"],"sub_categories":["Mobility and Transportation","文件同步"],"readme":"Public Transport Enabler\n========================\n\nThis is a Java library allowing you to get data from public transport providers.\nLook into [NetworkProvider.java](https://github.com/schildbach/public-transport-enabler/blob/master/src/de/schildbach/pte/NetworkProvider.java) for an overview of the API.\n\nUsing providers that require secrets\n------------------------------------\n\nFor some providers a secret like an API key is required to use their API.\nCopy the `secrets.properties.template` file to `secrets.properties` like so:\n\n    $ cp test/de/schildbach/pte/live/secrets.properties.template test/de/schildbach/pte/live/secrets.properties\n\nYou need to request the secrets directly from the provider.\n\nHow to run live tests?\n----------------------\n\nMake sure the test you want to run does not require a secret and if it does, see above for how to get one.\nOnce you have the secret or if your provider does not need one, you can run the tests in your IDE.\nBoth IntelliJ and Eclipse have excellent support for JUnit tests.\n\nIf you prefer to run tests from the command line, you can comment out the test exclude at the end of\n[build.gradle](https://github.com/schildbach/public-transport-enabler/blob/master/build.gradle#L30)\nand use this command to only execute a test for a single provider:\n\n    $ gradle -Dtest.single=BvgProviderLive test\n\nThis uses the `BvgProvider` as an example.\nJust replace it with the provider you want to test.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fschildbach%2Fpublic-transport-enabler","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fschildbach%2Fpublic-transport-enabler","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fschildbach%2Fpublic-transport-enabler/lists"}