https://github.com/agx/libplanfahr
GObject based library for public transport information
https://github.com/agx/libplanfahr
gobject-introspection public-transportation
Last synced: 4 months ago
JSON representation
GObject based library for public transport information
- Host: GitHub
- URL: https://github.com/agx/libplanfahr
- Owner: agx
- License: lgpl-2.1
- Created: 2015-10-16T15:28:36.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2019-03-25T19:01:51.000Z (over 6 years ago)
- Last Synced: 2025-06-19T03:50:02.105Z (4 months ago)
- Topics: gobject-introspection, public-transportation
- Language: C
- Size: 143 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README
- Changelog: ChangeLog
- License: COPYING
- Authors: AUTHORS
Awesome Lists containing this project
README
Libplanfahr is a GObject based library to query public transport inforation. It
(in principle) supports different providers although at the moment only one is
implemented. It features GObject introspection so you can use it from languages
like JavaScript and Python.The API is by no means stable yet.
It depends on glib, libsoup, libxml2, gnome-common and gtk-doc-tools:
apt-get install libsoup2.4-dev libglib2.0-dev libxml2-dev libgirepository1.0-dev \
gnome-common gtk-doc-toolsTo build from source use:
./autogen.sh
./configure
makeTo install use
make install
To run from the compiled source code use
./run
for example
./run python3 examples/trip-query.py Gelsenkirchen Essen
If you want to contribute to libplanfahr see the HACKING document.
## This is *alpha* quality software. It currently does *not* guard at all against malicious network packets! ##