Public Transport Enabler
Unleash public transport data in your Java project.
https://github.com/schildbach/public-transport-enabler
Category: Consumption
Sub Category: Mobility and Transportation
Keywords
efa hafas java library navitia public-transportation
Keywords from Contributors
android-app bus public-transport schedule gtfs-realtime transit-map transit-data transit-agencies realtime-data gtfs-validator
Last synced: about 23 hours ago
JSON representation
Repository metadata
Unleash public transport data in your Java project.
- Host: GitHub
- URL: https://github.com/schildbach/public-transport-enabler
- Owner: schildbach
- License: gpl-3.0
- Created: 2013-05-27T15:31:24.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2025-12-02T16:41:04.000Z (22 days ago)
- Last Synced: 2025-12-08T17:52:47.917Z (16 days ago)
- Topics: efa, hafas, java, library, navitia, public-transportation
- Language: Java
- Homepage: https://groups.google.com/forum/#!forum/public-transport-enabler-discuss
- Size: 6.42 MB
- Stars: 424
- Watchers: 20
- Forks: 137
- Open Issues: 176
- Releases: 0
-
Metadata Files:
- Readme: README.md
- License: COPYING
README.md
Public Transport Enabler
This is a Java library allowing you to get data from public transport providers.
Look into NetworkProvider.java for an overview of the API.
The library uses Java 8 language and requires Java 8 API or Android 7 API (level 24).
Using providers that require secrets
For some providers a secret like an API key is required to use their API.
Copy the secrets.properties.template file to secrets.properties like so:
$ cp test/de/schildbach/pte/live/secrets.properties.template test/de/schildbach/pte/live/secrets.properties
You need to request the secrets directly from the provider.
How to run live tests?
Make sure the test you want to run does not require a secret and if it does, see above for how to get one.
Once you have the secret or if your provider does not need one, you can run the tests in your IDE.
Both IntelliJ and Eclipse have excellent support for JUnit tests.
If you prefer to run tests from the command line, you can comment out the test exclude at the end of
build.gradle
and use this command to only execute a test for a single provider:
$ gradle -Dtest.single=BvgProviderLive test
This uses the BvgProvider as an example.
Just replace it with the provider you want to test.
Owner metadata
- Name: Andreas Schildbach
- Login: schildbach
- Email:
- Kind: user
- Description:
- Website:
- Location:
- Twitter:
- Company:
- Icon url: https://avatars.githubusercontent.com/u/743306?v=4
- Repositories: 46
- Last ynced at: 2024-06-11T15:34:32.260Z
- Profile URL: https://github.com/schildbach
GitHub Events
Total
- Issues event: 116
- Watch event: 32
- Issue comment event: 108
- Push event: 28
- Pull request review event: 31
- Pull request review comment event: 27
- Pull request event: 10
- Fork event: 7
- Create event: 3
Last Year
- Issues event: 83
- Watch event: 29
- Issue comment event: 71
- Push event: 25
- Pull request review event: 31
- Pull request review comment event: 27
- Pull request event: 9
- Fork event: 3
- Create event: 3
Committers metadata
Last synced: 8 days ago
Total Commits: 2,628
Total Committers: 52
Avg Commits per committer: 50.538
Development Distribution Score (DDS): 0.419
Commits in past year: 87
Committers in past year: 2
Avg Commits per committer in past year: 43.5
Development Distribution Score (DDS) in past year: 0.023
| Name | Commits | |
|---|---|---|
| Andreas Schildbach | a****s@s****e | 1528 |
| andreas.schildbach@gmail.com | a****h@g****m@0****0 | 570 |
| andreas.schildbach | a****h@0****0 | 384 |
| Torsten Grote | t@g****e | 27 |
| Michael Dyrna | m****l@d****e | 19 |
| Antonio El Khoury | a****y@g****m | 17 |
| full-duplex | f****x | 9 |
| Ialokim | i****m@t****e | 8 |
| karottenbaum | k****m | 4 |
| Patrick Kanzler | d****v@p****e | 4 |
| Nicolas Derive | k****3@u****m | 4 |
| Chimo | c****o@c****g | 4 |
| Michael Dyrna | m****a@e****e | 3 |
| Dongchen Yue | y****y@g****m | 2 |
| Lutz Krumme | l****e@t****e | 2 |
| Peter Serwylo | p****r@s****m | 2 |
| Traines | g****t@t****u | 2 |
| Johan von Forstner | j****r@g****m | 2 |
| metrophil | 7****l | 2 |
| mimi89999 | m****l@l****l | 2 |
| Christopher Schreiner | g****t@i****m | 2 |
| sbn | sb@e****m | 1 |
| jamescr | j****r@g****m | 1 |
| ajbruin | a****n | 1 |
| Tomas Groth | s****d@t****k | 1 |
| (no author) | (****)@0****0 | 1 |
| Anthony Chaput | t****4@o****g | 1 |
| Antonio El Khoury | a****r@l****r | 1 |
| Clayton Craft | c****y@g****m | 1 |
| Dominic Schmidt | d****u@g****m | 1 |
| and 22 more... | ||
Committer domains:
- cathect.net: 1
- etu.univ-lyon1.fr: 1
- igalia.com: 1
- husky.neu.edu: 1
- fabian-neffgen.de: 1
- mailbox.org: 1
- anduin.net: 1
- riseup.net: 1
- pentabarf.de: 1
- sjoberg.fi: 1
- posteo.org: 1
- oczc.de: 1
- topobyte.de: 1
- naruciakk.eu: 1
- laas.fr: 1
- openmailbox.org: 1
- tgc.dk: 1
- ems-solutions.com: 1
- infanf.com: 1
- lebihan.pl: 1
- traines.eu: 1
- serwylo.com: 1
- tu-dortmund.de: 1
- external.telekom.de: 1
- chromic.org: 1
- ubuntu.com: 1
- pkanzler.de: 1
- t-online.de: 1
- dyrna.de: 1
- grobox.de: 1
- schildbach.de: 1
Issue and Pull Request metadata
Last synced: 9 days ago
Total issues: 461
Total pull requests: 222
Average time to close issues: about 1 year
Average time to close pull requests: about 1 year
Total issue authors: 344
Total pull request authors: 77
Average comments per issue: 2.07
Average comments per pull request: 3.16
Merged pull request: 9
Bot issues: 0
Bot pull requests: 0
Past year issues: 48
Past year pull requests: 15
Past year average time to close issues: 3 days
Past year average time to close pull requests: 5 days
Past year issue authors: 42
Past year pull request authors: 5
Past year average comments per issue: 0.81
Past year average comments per pull request: 2.47
Past year merged pull request: 2
Past year bot issues: 0
Past year bot pull requests: 0
Top Issue Authors
- grote (17)
- schildbach (10)
- ialokim (8)
- ghost (7)
- patkan (5)
- Nibunnoichi (5)
- jpvitulli (4)
- gargamel17 (4)
- alexander-albers (4)
- tenminutemail (4)
- rugk (4)
- temsa (3)
- joeyboon (3)
- TheRealRWJ (3)
- regagain (3)
Top Pull Request Authors
- grote (23)
- schildbach (17)
- lunas-bad-coding (15)
- aelkhour (12)
- mdyrna (9)
- ialokim (9)
- full-duplex (7)
- chimo (6)
- infanf (5)
- kalon33 (4)
- patkan (4)
- iw0nderhow (4)
- xamanu (4)
- metrophil (4)
- traines-source (4)
Top Issue Labels
- navitia (63)
- enhancement (14)
- data (4)
- efa (4)
- duplicate (4)
- hafas-hci (3)
- bug (3)
- invalid (1)
Top Pull Request Labels
- navitia (29)
- enhancement (14)
- efa (3)
- hafas-hci (2)
- negentwee (1)
- bug (1)
Dependencies
- com.google.code.findbugs:jsr305 3.0.2 implementation
- com.google.guava:guava 31.1-android implementation
- com.squareup.okhttp3:logging-interceptor 3.12.13 implementation
- com.squareup.okhttp3:okhttp 3.12.13 implementation
- net.sf.kxml:kxml2 2.3.0 implementation
- org.json:json 20090211 implementation
- org.slf4j:slf4j-api 1.7.36 implementation
- junit:junit 4.13.2 testImplementation
- org.slf4j:slf4j-jdk14 1.7.36 testRuntime
Score: 10.348173373797573