LibPlanFahr is a GObject based library to query information for public transport like available locations and trip schedules (including platform information and stops).

LibPlanFahr is currently alpha quality software.

Features

  • It can query different provides like de-db, de-bvg and ch-sbb
  • It's introspectable so it's easily usable from different languages
  • It's asynchronous

Source Code

The source code is available via:

git clone https://git.sigxcpu.org/cgit/libplanfahr

and can be browsed here.

Documentation

See the API documentation. Don't consider the API to be stable yet.

Building

Fetch the source code from git then do a:

./autogen.sh
make
make install

Running

To run out of the source directory use ./run, e.g.

./run python examples/trip-query.py Hamburg Berlin

otherwise just use pkg-config to build against it.

Authors

libplanfahr was written by Guido Günther <agx@sigxcpu.org>.

License

LibPlanfahr is free software and licensed under the LGPL Version 2 or later.