Skip to content

Deutsche Bahn Arrivals

Kevin Retzke edited this page Apr 25, 2020 · 1 revision

Example using Deutsche Bahn public timetable API to show train arrivals:

Configuration

URL: https://bahnql.herokuapp.com/graphql

Table with train number and platform

Query:

{
  station:stationWithEvaId(evaId: 8000105) {
    timetable {
      nextArrivals {
        Time:time
        trainNumber
        platform
      }
    }
  }
}

Data path: station.timetable.nextArrivals

Annotations

Query and datapath same as above Title: $field_trainNumber Text: Platform $field_platform

Screenshot

image

Clone this wiki locally