-
Notifications
You must be signed in to change notification settings - Fork 35
Deutsche Bahn Arrivals
Kevin Retzke edited this page Apr 25, 2020
·
1 revision
Example using Deutsche Bahn public timetable API to show train arrivals:
URL: https://bahnql.herokuapp.com/graphql
Query:
{
station:stationWithEvaId(evaId: 8000105) {
timetable {
nextArrivals {
Time:time
trainNumber
platform
}
}
}
}
Data path: station.timetable.nextArrivals
Query and datapath same as above
Title: $field_trainNumber
Text: Platform $field_platform