public-transport / hafas-client

JavaScript client for HAFAS public transport APIs.
ISC License
262 stars 52 forks source link

SNCB: switch to new rest.exe API #284

Open derhuerst opened 1 year ago

derhuerst commented 1 year ago

As discussed thoroughly in https://github.com/iRail/iRail/issues/466, it seems like SNCB/NMBS has shut off their mgate.exe-flavoured API in favour of a (mostly) rest.exe-style one. We should check if the (somewhat outdated) rest.exe implementation in #134 can be used to query it.

Some relevant technical details:

cc @Muspah @schildbach

related: https://github.com/public-transport/transport-apis/issues/59

Muspah commented 1 year ago

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

derhuerst commented 1 year ago

public-transport-enabler equivalent of this Issue: https://github.com/schildbach/public-transport-enabler/issues/502

lollar1337 commented 6 days ago

FYI: iRail API is still working as expected. (seen in Hyperrail for Android or Railer for iOS) While Information sent to DB RIS and then HAFAS are usually quick and accurate it often lacks platform changes. Docs can be found here. https://docs.irail.be/