access public transport information in hamburg, germany.
Project description
HVV Geofox Python Library
About
This library is a python wrapper for accessing the geofox api. This api is used to get information about the public transport in Hamburg, Germany.
How to get the api credentials
You have to apply for credentials via the HVV website. You can see their official guide here (the page is only available in German).
They will send you a contract you will have to sign and send back. After about a week, you will receive your api credentials.
Documentation
This library uses the same data types and parameters as specified in the GTI documentation. It features client side validation of the parameters.
See the examples on how to use the library at examples.py, and see the GTI documentation for parameters.
Progress
- 1. init
- 2. checkName
- 3. getRoute
- 4. departureList
- 5. getTariff
-
6. departureCourse* - 7. listStations
- 8. listLines
- 9. getAnnouncements
- 10. getIndividualRoute
- 11. getVehicleMap
- 12. getTrackCoordinates
- 13. checkPostalCode
- 14. getStationInformation
- 15. tariffZoneNeighbours
- 16. ticketList
* departureCourse seems to be broken. Also, we were not able to "guess" the correct usage and it's not used on the official HVV page. If you find a solution to this, please open a PR.
Contributions are welcome!
If you want to contribute to this, please read the Contribution guidelines
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.