[iRail] problem getting train info for IC number

Brecht Van de Vyvere brecht at irail.be
Tue Sep 22 10:17:14 UTC 2015

Hi Tim

This is a known issue.

It's because IC1538 is a train that splits and our code hasn't been updated on such response:

We'll try to fix this asap.

Thanks for letting us know!

From: timlemmens at gmail.com
Date: Tue, 22 Sep 2015 07:35:58 +0200
To: iRail at list.irail.be; christophe.versieux at gmail.com
Subject: [iRail] problem getting train info for IC number

I have problems getting the data from my IC train in BeTrains (which is a wonderful app btw), and after checking I see the origin of the problem is in the iRail API. 
This gives an error: http://api.irail.be/vehicle/?id=BE.NMBS.IC1538&fast=truewhile all my P-trains are fine: http://api.irail.be/vehicle/?id=BE.NMBS.P8009&fast=true
Is this a known problem? 

groetjes, tim
Tim Lemmens
Blokweg 16
8972 Proven

iRail mailing list
iRail at list.iRail.be
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/irail/attachments/20150922/bcfdd946/attachment-0003.html>

More information about the iRail mailing list