← KDE PIM/KPublicTransport/Endpoint Configuration You do not have permission to edit this page, for the following reason: The action you have requested is limited to users in one of the groups: Users, Administrators, trusted, KDEDevelopers. You can view and copy the source of this page. == Public Transport Provider Endpoint Configurations == Can we share public transport provider API endpoint configurations with a wider set of users, beyond KDE? What would be a sensible subset of information? === Motivation === * All existing projects use subsets of available endpoints, so most if not all could benefit from more endpoint configurations becoming available with little extra effort for them. * Maintaining endpoint configurations is work, some parameters require elaborate research to obtain. === Existing Implementations === ==== Gnome Maps ==== Code: https://github.com/GNOME/gnome-maps/tree/mainline/src/transitplugins<br> Format: JSON - see https://gis.gnome.org/services/v1/service.json<br> Backends: OTP (via REST), custom (OpenDataCH, Resrobot)<br> Additional information: * Attribution * Geographic bounding box * Description * Priority ==== hafas-client ==== Code: https://github.com/public-transport/hafas-client<br> Format: JS, partly JSON-ish - see https://github.com/public-transport/hafas-client/tree/master/p<br> Backends: Hafas<br> Additional information: * Product mapping * Locale * Timezone ==== KPublicTransport ==== Code: https://phabricator.kde.org/source/kpublictransport/<br> Format: JSON - https://phabricator.kde.org/source/kpublictransport/browse/master/src/lib/networks/<br> Backends: Navitia, OTP (3 variants), Hafas (2 variants), EFA (2 variants)<br> Additional information: * Hafas product mapping * Location identifier normalization/mapping to UIC/IBNR station codes * Localized names/descriptions * Supported languages * Static timezones for backends not providing timezone information * Attribution * Geographic bounding box * Primary country/region ISO 3166-1/2 codes as part of the file name. ==== marudor.de ==== Code: https://github.com/marudor/BahnhofsAbfahrten/tree/master/src/server/HAFAS<br> Format: TypeScript, but largely declarative/JSON-ish: https://github.com/marudor/BahnhofsAbfahrten/blob/master/src/server/HAFAS/profiles.ts<br> Backends: Hafas<br> Additional information: ==== oeffisear.ch ==== Code: https://git.ctu.cx/ctucx/oeffisearch<br> Format: N/A (hardcoded)<br> Backends: Hafas<br> ==== public-transport-enabler ==== Code: https://gitlab.com/oeffi/public-transport-enabler/<br> Format: Java code, API keys not included (part of Öffi/Transportr) - see https://gitlab.com/oeffi/public-transport-enabler/-/tree/master/src/de/schildbach/pte<br> Backends: Navitia, Hafas (2 variants), EFA (2 variants), custom (VRS, and one other one IIRC)<br> Additional information: * Hafas product mapping, line and product name normalization (in code) ==== pyhafas ==== Code: https://github.com/n0emis/pyhafas<br> Format: Python code, some JSON elements - see https://github.com/n0emis/pyhafas/tree/master/pyhafas/profile<br> Backends: Hafas ==== smurfy/fahrplan ==== Code: https://github.com/smurfy/fahrplan/<br> Format: in code? - see https://github.com/smurfy/fahrplan/tree/master/src/parser<br> Backends: Hafas (2 variants), EFA ==== TripKit ==== Code: https://github.com/alexander-albers/tripkit<br> Format: Swift Code - see https://github.com/alexander-albers/tripkit/tree/master/TripKit<br> Note: Swift port of public-transport-enabler, with matching backend/configuration approach. Return to KDE PIM/KPublicTransport/Endpoint Configuration. Retrieved from "https://community.kde.org/KDE_PIM/KPublicTransport/Endpoint_Configuration"