Python client for HAFAS public transport APIs
A python client for HaFAS public transport APIs.
You only need to install the pyhafas package, for example using pip:
$ pip install pyhafas
For development is recommended to use a
$ python3 -m venv .venv $ source .venv/bin/activate $ python setup.py develop
There's a company called HaCon that sells a public transport management system called HAFAS. It is used by companies all over Europe to serve routing and departure information for apps. All those endpoints are similar, with the same terms and API routes, but have slightly different options, filters and sets of enabled features.
public-transport-enabler– Unleash public transport data in your Java project.
- Friendly Public Transport Format – A format for APIs, libraries and datasets containing and working with public transport data.
If you have a question, found a bug or want to propose a feature, have a look at the issues page.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.