Project Name | Stars | Downloads | Repos Using This | Packages Using This | Most Recent Commit | Total Releases | Latest Release | Open Issues | License | Language |
---|---|---|---|---|---|---|---|---|---|---|
Public Transport Enabler | 363 | 13 hours ago | 255 | gpl-3.0 | Java | |||||
Unleash public transport data in your Java project. | ||||||||||
Friendly Public Transport Format | 97 | 1 | 3 | 6 months ago | 8 | March 02, 2019 | 19 | cc-by-sa-4.0 | ||
A format for APIs, libraries and datasets containing and working with public transport data. | ||||||||||
Trufi Core | 81 | 3 months ago | 59 | gpl-3.0 | Dart | |||||
Trufi - A Flutter app for Public Transportation | ||||||||||
Osm2gtfs | 60 | 4 years ago | 30 | gpl-3.0 | Python | |||||
Turn OpenStreetMap data and schedule information into GTFS | ||||||||||
Vbb Modules | 47 | 4 years ago | ||||||||
List of JavaScript modules for Berlin & Brandenburg public transport. | ||||||||||
European Transport Operators | 42 | 2 years ago | 2 | |||||||
NOT UP-TO-DATE ANYMORE, UNMAINTAINED. CHECK european-transport-feeds INSTEAD. List of european long-distance transport operators, available API endpoints, GTFS feeds and client modules. | ||||||||||
Timisoarapublictransport | 24 | 5 years ago | 3 | other | Java | |||||
An Android App that scrapes public transport information (times/connections) and shows it on your Android. | ||||||||||
Dvb | 19 | 4 years ago | 5 | mit | Swift | |||||
🚆 Query Dresden's public transport system for current bus- and tramstop data in swift | ||||||||||
Falsehoods | 17 | 2 years ago | 1 | |||||||
Falsehoods programmers believe in about public transportation. | ||||||||||
Osm Pt Ngx Leaflet | 17 | a year ago | 37 | mit | TypeScript | |||||
An online web editor used to edit public transport routes on OpenStreetMap built with Angular, Leaflet and Webpack. |
This is a Java library allowing you to get data from public transport providers. Look into NetworkProvider.java for an overview of the API.
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. For Navitia based providers, you can request a secret here.
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=ParisProviderLive test
This uses the ParisProvider
as an example.
Just replace it with the provider you want to test.