[iRail] confused about API

bert bruynooghe bert.bruynooghe at gmail.com
Mon Jan 2 21:20:42 UTC 2012


The problem seems to occur when the vehicle is not today, but the next
day. (I am working on this project late in the evenings ;))

Anyway, not a real problem for the application I have in mind.

Regards,
Bert.


> 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


------------------------------

_______________________________________________
iRail mailing list
iRail at list.irail.be
http://lists.rootspirit.com/mailman/listinfo/irail


End of iRail Digest, Vol 4, Issue 1
***********************************



More information about the iRail mailing list