项目作者: agx

项目描述 :
GObject based library for public transport information
高级语言: C
项目地址: git://github.com/agx/libplanfahr.git
创建时间: 2015-10-16T15:28:36Z
项目社区:https://github.com/agx/libplanfahr

开源协议:GNU Lesser General Public License v2.1

下载


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:

  1. apt-get install libsoup2.4-dev libglib2.0-dev libxml2-dev libgirepository1.0-dev \
  2. gnome-common gtk-doc-tools

To build from source use:

  1. ./autogen.sh
  2. ./configure
  3. make

To install use

  1. make install

To run from the compiled source code use

  1. ./run <program>

for example

  1. ./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!