Skip to main content

access public transport information in hamburg, germany.

Project description

HVV Geofox Python Library

Code style: black Hamburg Open Issues Release GTI version: 38 Azure Pipelines status


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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pygti-0.8.4.tar.gz (16.4 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page