-
Notifications
You must be signed in to change notification settings - Fork 137
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SNCB: java.lang.RuntimeException: CLIENTVERSION #502
Comments
SNCB deprecated their HAFAS endpoint and switched to an Azure-hosted HAFAS OpenAPI endpoint with custom arrival/departure boards. |
What's "HAFAS OpenAPI"? Do you have some link? |
There's not much public documentation, especially not with the more recent version that SNCB runs. The only public implementation for SNCB that I'm aware of is https://github.com/irail/irail I'm mainly working on creating NeTEx/SIRI, I don't know all the implementation details around the API endpoints. |
An older version of the API spec can be found in: https://projects.shift2rail.org/download.aspx?id=4f1ad68b-0e62-4183-98ae-7232a5c519bd SNCB only offers JSON endpoints and only specific endpoints are available. TrainSearch is missing for example, looking up a specific journey requires multiple calls and/or caching JourneyRef's. |
Just for reference, the highest version the endpoint knows about is |
related: #284 related: iRail/iRail#466 related: schildbach/public-transport-enabler#502
I decided to remove |
Query
SNCB
Location{ADDRESS, 50.6966880/5.4057460, place=Crisnée, name=Rue Vincent Bonnechère BE-WAL, BE-WLG}
null
Location{STATION, 262348, 50.6948550/5.2500870, name=WAREMME Gare [TEC], products=[HIGH_SPEED_TRAIN, REGIONAL_TRAIN, BUS]}
Wed Dec 14 11:40:09 GMT+01:00 2022
true
[HIGH_SPEED_TRAIN, REGIONAL_TRAIN, SUBURBAN_TRAIN, SUBWAY, TRAM, BUS, FERRY, CABLECAR, ON_DEMAND]
LEAST_DURATION
NORMAL
Error
Additional information
[Please modify this part]
The text was updated successfully, but these errors were encountered: