This project is deprecated. Feel free to use it as inspiration and/or help.
Does what the name says. It scrapes the sbb.ch website. Using tidy and xpath (using id and class selectors).
The SBB has actually a real API, not public tho. You can find it if you use your own proxy with the SBB App.
If you want this information to be free – since we friggin pay it! – write them a mail to email@example.com.
Well, there are actually 2 versions to this. This is the PHP one, currently in use for GottaGo and other websites.
There is a python version, using the ZVV timetable. If you want access to it, write me a mail, since I don’t believe it’s finished nor working anymore.