SBB API

This project is deprecated. Feel free to use it as inspiration and/or help.

http://bitbucket.org/marcammann/sbb-api

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 press@sbb.ch.

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.

1 Comment to SBB API

  1. December 8, 2008 at 11:10 pm Permalink
    Fabian's Gravatar Fabian

    How cool is that!? Thanks a lot! =D

Dare to comment?