•   over 7 years ago

HaCon - API access to BVG journey planner

HaCon proudly provides an API to let you access BVG journey planner.

This API is available via https://demo.hafas.de/bvg-hackathon/restproxy and will offer you the following services:

Search for Stations/POIs/Addresses

* Location search by coordinate -> https://demo.hafas.de/bvg-hackathon/restproxy/location.nearbystops?wadl
* Location search by name -> https://demo.hafas.de/bvg-hackathon/restproxy/location.name?wadl

Search for departing or arriving services

* Departure board -> https://demo.hafas.de/bvg-hackathon/restproxy/departureBoard?wadl
* Arrival board -> https://demo.hafas.de/bvg-hackathon/restproxy/arrivalBoard?wadl

Search from A to B

* Trip search -> https://demo.hafas.de/bvg-hackathon/restproxy/trip?wadl

Details of a whole service

* Journey detail -> https://demo.hafas.de/bvg-hackathon/restproxy/journeyDetail?wadl

== Something to read ==

* Interface description is available at https://inno.hafas.de/bvg-hackathon-2018/HAFAS_ReST_Interface_v.1.23.23.pdf
* Description of response is available as XSD at https://demo.hafas.de/bvg-hackathon/restproxy/xsd?rest-1.23.xsd

== Something to test ==

You need an accessId to use the services provided. Before Hackathon, you can use 27ef1c6d-fe98-49c2-974e-211a94fdba7f with a limited rate of request. During Hackathon, we will provide you with unlimited access.

Please find a Postman collection at https://inno.hafas.de/bvg-hackathon-2018/BVG_Hackathon_2018.postman_collection.json free to use.
Wondering how to filter for certain product categories? Go https://inno.hafas.de/bvg-hackathon-2018/filtering_for_products.txt

In case of any question, do not hesitate to leave it here or at Twitter using #hafasapibvg. We will try to answer as fast as possible.

Cheers,
Michael

Comments are closed.