[iRail] confused about API

Tim Besard tim.besard at gmail.com
Sun Jan 1 21:47:03 UTC 2012


Seems to work fine for other vehicles, e.g.
http://api.irail.be/vehicle/?id=BE.NMBS.IC1535
Are you sure your vehicle id is correct?

Tim


2012/1/1 bert bruynooghe <bert.bruynooghe at gmail.com>:
> Hi guys,
>
> I tried to get some stuff working using the irails.be API, but what I
> get does not correspond with the documentation (which is about 1.0,
> not about 1.1 which seems the current version):
>
> Eg: when I try this: http://api.irail.be/vehicle/?id=BE.NMBS.L2675
> I get no stops...
> <vehicleinformation version="1.1" timestamp="1325453829">
> <vehicle locationX="0" locationY="0">BE.NMBS.L2675</vehicle>
> <empty/>
> </vehicleinformation>
>
> Is there any other way to retrieve the stops of the individual
> vehicles along the connection?
>
> Kind regards,
> Bert Bruynooghe.
> _______________________________________________
> iRail mailing list
> iRail at list.irail.be
> http://lists.rootspirit.com/mailman/listinfo/irail



More information about the iRail mailing list