[iRail] API Liveboards - scraper failure due to new mobile railtime website

Pieter Colpaert pieter.colpaert at gmail.com
Sun Aug 28 21:25:48 UTC 2011


Hi list,

Today the guys from railtime launched a new website: m.railtime.be.
Without notifying us (although we asked DUO, infrabel and NMBS to do
so). Of course, our liveboard API which still scrapes this site was
broken.

Quentin made a quick fix for it and partially rewrote the scraper. A lot
of code was reusable although they changed they way you ask for a
specific station. Now you have to give the perfect railtime name AND the
perfect railtime id. As we have those in our database we could quickly
fix this as well. Why they did this? No idea.

If anything is still not functioning correctly, please wait notifying
Quentin and me after Wednesday, when both of our examinations are
finished ;)

Of course, the api is still at:
http://api.irail.be/liveboard/?station=brussel%
20centraal&lang=nl&format=json

Kind regards,

Pieter


-- 
iRail vzw/asbl
+32 (0) 486/747122




More information about the iRail mailing list