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 schedule electricitymap public-transport gtfs-realtime climate-change gtfs-analysis gtfs-converters gtfs-feed
Last synced: about 22 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 (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2025-02-10T13:41:45.000Z (3 months ago)
- Last Synced: 2025-04-25T12:46:08.688Z (2 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.24 MB
- Stars: 403
- Watchers: 20
- Forks: 136
- Open Issues: 173
- 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.
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: 95
- Watch event: 18
- Issue comment event: 89
- Push event: 17
- Pull request review event: 30
- Pull request review comment event: 25
- Pull request event: 10
- Fork event: 7
- Create event: 3
Last Year
- Issues event: 95
- Watch event: 18
- Issue comment event: 89
- Push event: 17
- Pull request review event: 30
- Pull request review comment event: 25
- Pull request event: 10
- Fork event: 7
- Create event: 3
Committers metadata
Last synced: 6 days ago
Total Commits: 2,553
Total Committers: 52
Avg Commits per committer: 49.096
Development Distribution Score (DDS): 0.431
Commits in past year: 36
Committers in past year: 6
Avg Commits per committer in past year: 6.0
Development Distribution Score (DDS) in past year: 0.194
Name | Commits | |
---|---|---|
Andreas Schildbach | a****s@s****e | 1453 |
[email protected] | 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 |
infanf | i****f@g****e | 2 |
mimi89999 | m****l@l****l | 2 |
metrophil | 7****l | 2 |
Johan von Forstner | j****r@g****m | 2 |
Traines | g****t@t****u | 2 |
Peter Serwylo | p****r@s****m | 2 |
Lutz Krumme | l****e@t****e | 2 |
Dongchen Yue | y****y@g****m | 2 |
ThTomate | t****e | 1 |
Simon Legner | S****r@g****m | 1 |
Sebastian Kürten | s****n@t****e | 1 |
Oliwer Christ | oc@o****e | 1 |
Clayton Craft | c****y@g****m | 1 |
Dominic Schmidt | d****u@g****m | 1 |
Robert von Oliva | o****a@n****u | 1 |
Stéphane Guillou | s****u@g****m | 1 |
Antonio El Khoury | a****r@l****r | 1 |
and 22 more... |
Committer domains:
- etu.univ-lyon1.fr: 1
- igalia.com: 1
- ems-solutions.com: 1
- tgc.dk: 1
- cathect.net: 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
- openmailbox.org: 1
- laas.fr: 1
- naruciakk.eu: 1
- oczc.de: 1
- topobyte.de: 1
- tu-dortmund.de: 1
- serwylo.com: 1
- traines.eu: 1
- lebihan.pl: 1
- gmx.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: 2 days ago
Total issues: 454
Total pull requests: 187
Average time to close issues: about 1 year
Average time to close pull requests: 8 months
Total issue authors: 339
Total pull request authors: 76
Average comments per issue: 2.22
Average comments per pull request: 3.4
Merged pull request: 9
Bot issues: 0
Bot pull requests: 0
Past year issues: 62
Past year pull requests: 18
Past year average time to close issues: 24 days
Past year average time to close pull requests: 8 days
Past year issue authors: 56
Past year pull request authors: 8
Past year average comments per issue: 1.15
Past year average comments per pull request: 1.67
Past year merged pull request: 1
Past year bot issues: 0
Past year bot pull requests: 0
Top Issue Authors
- grote (17)
- schildbach (9)
- ialokim (8)
- ghost (7)
- patkan (5)
- gargamel17 (4)
- Nibunnoichi (4)
- rugk (4)
- tenminutemail (4)
- jpvitulli (4)
- dotlambda (3)
- utrin (3)
- pcench (3)
- bugzillus (3)
- temsa (3)
Top Pull Request Authors
- grote (23)
- schildbach (12)
- aelkhour (12)
- mdyrna (9)
- ialokim (9)
- lunas-bad-coding (8)
- full-duplex (7)
- chimo (5)
- kalon33 (4)
- patkan (4)
- iw0nderhow (4)
- xamanu (4)
- infanf (3)
- afflux (3)
- mimi89999 (3)
Top Issue Labels
- navitia (65)
- enhancement (14)
- duplicate (5)
- data (4)
- bug (3)
- efa (3)
- hafas-hci (2)
- invalid (1)
- question (1)
Top Pull Request Labels
- navitia (17)
- enhancement (9)
- efa (2)
- 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.30735137927732