Simon
Simon
Just grab the API key from the app for now, it works fine. It's HAFAS indeed proxied through some SNCB layer. x-api-key IOS-v0001-20190214-YKNDlEPxDqynCovC2ciUOYl8L6aMwU4WuhKaNtxl User-Agent BelgianTrain/11 CFNetwork/1335.0.3 Darwin/21.6.0 Departures (stationboard) https://mobile-riv.api.belgianrail.be/api/v1.0/dacs?query=DeparturesApp&UicCode=8833134&FromDate=2022-11-04%2017%3A14%3A37&Count=100...
@pietercolpaert If you want to play nice with NMBS and ask for a key or just use one from the app is up to you guys. I personally don't care,...
Ah okay, didn't recognize the exact scheme, HAFAS is not that common in NL.
SNCB's GTFS is output from HAFAS indeed.
GTFS at SNCB is a joke. And EPIP an even bigger joke.
Bit late, but calling socket#subscribe() on an XSUB socket doesn't work indeed. We've fixed it like: ``` for (String sub : subscriptions) { ByteArrayOutputStream bos = new ByteArrayOutputStream(); bos.writeBytes(new byte[]{0x01});...
I can't access iRails servers but don't mind taking a look at the codebase on GitHub if you wish. But is this really an issue that iRail still wants to...
SNCB returns composition at their public endpoint at the moment, we're doing hundreds of queries per hour. Train 2845 will start running at 24:04h, iRail's underlying service only offers compositions...
To give you a basic idea of the output: https://gist.github.com/Muspah/9a82b51151b4529f6d459e2bfd5679fb https://gist.github.com/Muspah/7713ebfc36e9a355077ce64c52675293 https://gist.github.com/Muspah/dc3e679a23ed4e4bc9f24dba39f6387b https://gist.github.com/Muspah/587547affc95e79ed2feec3c1f78fe83
The underlying HAFAS API does include a bitmap of the service days, it should be fairly trivial to add this to the iRail API. https://gist.github.com/Muspah/7713ebfc36e9a355077ce64c52675293 "sDaysB": "7CF9F3E7CF9F3E7CF9F3E7CF9F3E7C79F3E3CF9D3E3CF9F3E7CF9F3C7CF9F2E7CF9F3E7CF9F3E7CF9B3E7CF9F3E0",