A python client for HaFAS public transport APIs.
You only need to install the pyhafas package, for example using pip:
$ pip install pyhafas
That’s it!
For development is recommended to use a venv
.
$ 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.
hafas-client
– JavaScript client for the HAFAS API.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.
db-hafas
– JavaScript client for the DB HAFAS API.
If you have a question, found a bug or want to propose a feature, have a look at the issues page.