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: 37.4


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

  • [x] 1. init
  • [x] 2. checkName
  • [x] 3. getRoute
  • [x] 4. departureList
  • [x] 5. getTariff
  • [ ] 6. departureCourse
  • [x] 7. listStations
  • [x] 8. listLines
  • [x] 9. getAnnouncements
  • [x] 10. getIndividualRoute
  • [x] 11. getVehicleMap
  • [ ] 12. getTrackCoordinates
  • [x] 13. checkPostalCode
  • [x] 14. getStationInformation
  • [ ] 15. tariffZoneNeighbours
  • [ ] 16. ticketList

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.

Files for pygti, version 0.7.0
Filename, size File type Python version Upload date Hashes
Filename, size pygti-0.7.0-py2.py3-none-any.whl (11.6 kB) File type Wheel Python version py2.py3 Upload date Hashes View hashes
Filename, size pygti-0.7.0.tar.gz (8.1 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page