Skip to content

Commit

Permalink
Add preliminary support for SBB
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-albers committed Jan 3, 2024
1 parent 0409356 commit 263f976
Show file tree
Hide file tree
Showing 36 changed files with 17 additions and 10 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"nearestDepartureStationName":"_","departures":[{"departureDisplayTime":"13:06","departureDateTime":"2024-01-01T13:13:00+01:00","directionDisplayTitle":"Hamburg Hbf","quayDisplayName":"9","realtimeTypes":["QUAY_CHANGED","DELAYED"],"itineraryUrl":"api/timetable/v1/itineraries/1%7C397735%7C0%7C95%7C1012024?routeIndexFrom=0","itineraryUrlOld":"departure-board/itinerary/1%7C397735%7C0%7C95%7C1012024?from=8500010&routeIndex=0","transportDesignation":{"vehicleType":"TRAIN","transportName":"InterCityExpress","transportDisplayName":"InterCityExpress","transportInsignia":{"identifier":"ICE","displayName":"ICE"},"transportExtraInfo":"72"},"accessibilityText":"Train ICE, Departure at 13 6 on Platform 9 direction Hamburg Hbf Platform change, Delay."},{"departureDisplayTime":"13:12","departureDateTime":"2024-01-01T13:12:00+01:00","directionDisplayTitle":"Basel, Neuweilerstrasse","quayDisplayName":"E","realtimeTypes":[],"itineraryUrl":"api/timetable/v1/itineraries/1%7C403810%7C0%7C95%7C1012024?routeIndexFrom=19","itineraryUrlOld":"departure-board/itinerary/1%7C403810%7C0%7C95%7C1012024?from=8578143&routeIndex=19","transportDesignation":{"vehicleType":"TRAMWAY","transportName":"Tramway","transportDisplayName":"Tramway 8","transportInsignia":{"identifier":"T","detail":"8","displayName":"T 8"},"transportExtraInfo":"8082"},"accessibilityText":"Tramway T 8, Departure at 13 12 on Stop E direction Basel Neuweilerstrasse."},{"departureDisplayTime":"13:12","departureDateTime":"2024-01-01T13:12:00+01:00","directionDisplayTitle":"Basel, Kleinhüningen","quayDisplayName":"F","realtimeTypes":[],"itineraryUrl":"api/timetable/v1/itineraries/1%7C404574%7C0%7C95%7C1012024?routeIndexFrom=9","itineraryUrlOld":"departure-board/itinerary/1%7C404574%7C0%7C95%7C1012024?from=8578143&routeIndex=9","transportDesignation":{"vehicleType":"TRAMWAY","transportName":"Tramway","transportDisplayName":"Tramway 8","transportInsignia":{"identifier":"T","detail":"8","displayName":"T 8"},"transportExtraInfo":"8087"},"accessibilityText":"Tramway T 8, Departure at 13 12 on Stop F direction Basel Kleinhüningen."},{"departureDisplayTime":"13:12","departureDateTime":"2024-01-01T13:12:00+01:00","directionDisplayTitle":"Dornach, Bahnhof","quayDisplayName":"G","realtimeTypes":[],"itineraryUrl":"api/timetable/v1/itineraries/1%7C405456%7C0%7C95%7C1012024?routeIndexFrom=21","itineraryUrlOld":"departure-board/itinerary/1%7C405456%7C0%7C95%7C1012024?from=8578143&routeIndex=21","transportDesignation":{"vehicleType":"TRAMWAY","transportName":"Tramway","transportDisplayName":"Tramway 10","transportInsignia":{"identifier":"T","detail":"10","displayName":"T 10"},"transportExtraInfo":"20281"},"accessibilityText":"Tramway T 10, Departure at 13 12 on Stop G direction Dornach Bahnhof."},{"departureDisplayTime":"13:13","departureDateTime":"2024-01-01T13:13:00+01:00","directionDisplayTitle":"Köln Hbf","quayDisplayName":"12","realtimeTypes":["CANCELLED"],"itineraryUrl":"api/timetable/v1/itineraries/1%7C387670%7C0%7C95%7C1012024?routeIndexFrom=0","itineraryUrlOld":"departure-board/itinerary/1%7C387670%7C0%7C95%7C1012024?from=8500010&routeIndex=0","transportDesignation":{"vehicleType":"TRAIN","transportName":"InterCityExpress","transportDisplayName":"InterCityExpress","transportInsignia":{"identifier":"ICE","displayName":"ICE"},"transportExtraInfo":"106"},"accessibilityText":"Train ICE, Departure at 13 13 on Platform 12 direction Köln Hbf Cancellation."}]}
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"nearestDepartureStationName":"_","departures":[{"departureDisplayTime":"13:12","departureDateTime":"2024-01-01T13:12:00+01:00","directionDisplayTitle":"Hinwil","quayDisplayName":"33","realtimeTypes":[],"itineraryUrl":"api/timetable/v1/itineraries/1%7C81907%7C9%7C95%7C1012024?routeIndexFrom=7","itineraryUrlOld":"departure-board/itinerary/1%7C81907%7C9%7C95%7C1012024?from=8503000&routeIndex=7","transportDesignation":{"vehicleType":"TRAIN","transportName":"Urban train","transportDisplayName":"Urban train 14","transportInsignia":{"identifier":"S","detail":"14","displayName":"S14"},"transportExtraInfo":"19449"},"accessibilityText":"Train S 14, Departure at 13 12 on Platform 33 direction Hinwil."},{"departureDisplayTime":"13:12","departureDateTime":"2024-01-01T13:12:00+01:00","directionDisplayTitle":"Chur","quayDisplayName":"8","realtimeTypes":[],"itineraryUrl":"api/timetable/v1/itineraries/1%7C111255%7C0%7C95%7C1012024?routeIndexFrom=6","itineraryUrlOld":"departure-board/itinerary/1%7C111255%7C0%7C95%7C1012024?from=8503000&routeIndex=6","transportDesignation":{"vehicleType":"TRAIN","transportName":"InterRegio","transportDisplayName":"InterRegio","transportInsignia":{"identifier":"IR","detail":"35","displayName":"IR 35"},"transportExtraInfo":"2369"},"accessibilityText":"Train IR 35, Departure at 13 12 on Platform 8 direction Chur."},{"departureDisplayTime":"13:12","departureDateTime":"2024-01-01T13:12:00+01:00","directionDisplayTitle":"Zürich, Albisgütli","realtimeTypes":[],"itineraryUrl":"api/timetable/v1/itineraries/1%7C136788%7C17%7C95%7C1012024?routeIndexFrom=16","itineraryUrlOld":"departure-board/itinerary/1%7C136788%7C17%7C95%7C1012024?from=8587349&routeIndex=16","transportDesignation":{"vehicleType":"TRAMWAY","transportName":"Tramway","transportDisplayName":"Tramway 13","transportInsignia":{"identifier":"T","detail":"13","displayName":"T 13"},"transportExtraInfo":"4800"},"accessibilityText":"Tramway T 13, Departure at 13 12 direction Zürich Albisgütli."},{"departureDisplayTime":"13:12","departureDateTime":"2024-01-01T13:12:00+01:00","directionDisplayTitle":"Zürich, Klusplatz","realtimeTypes":[],"itineraryUrl":"api/timetable/v1/itineraries/1%7C137329%7C17%7C95%7C1012024?routeIndexFrom=13","itineraryUrlOld":"departure-board/itinerary/1%7C137329%7C17%7C95%7C1012024?from=8587348&routeIndex=13","transportDesignation":{"vehicleType":"TRAMWAY","transportName":"Tramway","transportDisplayName":"Tramway 3","transportInsignia":{"identifier":"T","detail":"3","displayName":"T 3"},"transportExtraInfo":"4811"},"accessibilityText":"Tramway T 3, Departure at 13 12 direction Zürich Klusplatz."},{"departureDisplayTime":"13:13","departureDateTime":"2024-01-01T13:13:00+01:00","directionDisplayTitle":"Zürich, Zoo","realtimeTypes":[],"itineraryUrl":"api/timetable/v1/itineraries/1%7C137293%7C19%7C95%7C1012024?routeIndexFrom=0","itineraryUrlOld":"departure-board/itinerary/1%7C137293%7C19%7C95%7C1012024?from=8591067&routeIndex=0","transportDesignation":{"vehicleType":"TRAMWAY","transportName":"Tramway","transportDisplayName":"Tramway 6","transportInsignia":{"identifier":"T","detail":"6","displayName":"T 6"},"transportExtraInfo":"5043"},"accessibilityText":"Tramway T 6, Departure at 13 13 direction Zürich Zoo."},{"departureDisplayTime":"13:13","departureDateTime":"2024-01-01T13:13:00+01:00","directionDisplayTitle":"Zürich, Bahnhofplatz/HB","realtimeTypes":[],"itineraryUrl":"api/timetable/v1/itineraries/1%7C157634%7C5%7C95%7C1012024?routeIndexFrom=14","itineraryUrlOld":"departure-board/itinerary/1%7C157634%7C5%7C95%7C1012024?from=8591368&routeIndex=14","transportDesignation":{"vehicleType":"TRAMWAY","transportName":"Tramway","transportDisplayName":"Tramway 17","transportInsignia":{"identifier":"T","detail":"17","displayName":"T 17"},"transportExtraInfo":"4860"},"accessibilityText":"Tramway T 17, Departure at 13 13 direction Zürich Bahnhofplatz/HB."},{"departureDisplayTime":"13:13","departureDateTime":"2024-01-01T13:13:00+01:00","directionDisplayTitle":"Zürich, Werdhölzli","realtimeTypes":[],"itineraryUrl":"api/timetable/v1/itineraries/1%7C164539%7C15%7C95%7C1012024?routeIndexFrom=2","itineraryUrlOld":"departure-board/itinerary/1%7C164539%7C15%7C95%7C1012024?from=8591368&routeIndex=2","transportDesignation":{"vehicleType":"TRAMWAY","transportName":"Tramway","transportDisplayName":"Tramway 17","transportInsignia":{"identifier":"T","detail":"17","displayName":"T 17"},"transportExtraInfo":"5001"},"accessibilityText":"Tramway T 17, Departure at 13 13 direction Zürich Werdhölzli."},{"departureDisplayTime":"13:13","departureDateTime":"2024-01-01T13:13:00+01:00","directionDisplayTitle":"Stettbach, Bahnhof","realtimeTypes":[],"itineraryUrl":"api/timetable/v1/itineraries/1%7C186119%7C1%7C95%7C1012024?routeIndexFrom=13","itineraryUrlOld":"departure-board/itinerary/1%7C186119%7C1%7C95%7C1012024?from=8591067&routeIndex=13","transportDesignation":{"vehicleType":"TRAMWAY","transportName":"Tramway","transportDisplayName":"Tramway 7","transportInsignia":{"identifier":"T","detail":"7","displayName":"T 7"},"transportExtraInfo":"4853"},"accessibilityText":"Tramway T 7, Departure at 13 13 direction Stettbach Bahnhof."},{"departureDisplayTime":"13:13","departureDateTime":"2024-01-01T13:13:00+01:00","directionDisplayTitle":"Zürich, Hermetschloo","realtimeTypes":[],"itineraryUrl":"api/timetable/v1/itineraries/1%7C235790%7C17%7C95%7C1012024?routeIndexFrom=18","itineraryUrlOld":"departure-board/itinerary/1%7C235790%7C17%7C95%7C1012024?from=8587348&routeIndex=18","transportDesignation":{"vehicleType":"BUS","transportName":"Bus","transportDisplayName":"Bus 31","transportInsignia":{"identifier":"B","detail":"31","displayName":"B 31"},"transportExtraInfo":"8881"},"accessibilityText":"Bus B 31, Departure at 13 13 direction Zürich Hermetschloo."}]}
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"nearestDepartureStationName":"_","departures":[{"departureDisplayTime":"13:06","departureDateTime":"2024-01-01T13:13:00+01:00","directionDisplayTitle":"Hamburg Hbf","quayDisplayName":"9","realtimeTypes":["QUAY_CHANGED","DELAYED"],"itineraryUrl":"api/timetable/v1/itineraries/1%7C397735%7C0%7C95%7C1012024?routeIndexFrom=0","itineraryUrlOld":"departure-board/itinerary/1%7C397735%7C0%7C95%7C1012024?from=8500010&routeIndex=0","transportDesignation":{"vehicleType":"TRAIN","transportName":"InterCityExpress","transportDisplayName":"InterCityExpress","transportInsignia":{"identifier":"ICE","displayName":"ICE"},"transportExtraInfo":"72"},"accessibilityText":"Train ICE, Departure at 13 6 on Platform 9 direction Hamburg Hbf Platform change, Delay."},{"departureDisplayTime":"13:12","departureDateTime":"2024-01-01T13:12:00+01:00","directionDisplayTitle":"Basel, Neuweilerstrasse","quayDisplayName":"E","realtimeTypes":[],"itineraryUrl":"api/timetable/v1/itineraries/1%7C403810%7C0%7C95%7C1012024?routeIndexFrom=19","itineraryUrlOld":"departure-board/itinerary/1%7C403810%7C0%7C95%7C1012024?from=8578143&routeIndex=19","transportDesignation":{"vehicleType":"TRAMWAY","transportName":"Tramway","transportDisplayName":"Tramway 8","transportInsignia":{"identifier":"T","detail":"8","displayName":"T 8"},"transportExtraInfo":"8082"},"accessibilityText":"Tramway T 8, Departure at 13 12 on Stop E direction Basel Neuweilerstrasse."},{"departureDisplayTime":"13:12","departureDateTime":"2024-01-01T13:12:00+01:00","directionDisplayTitle":"Basel, Kleinhüningen","quayDisplayName":"F","realtimeTypes":[],"itineraryUrl":"api/timetable/v1/itineraries/1%7C404574%7C0%7C95%7C1012024?routeIndexFrom=9","itineraryUrlOld":"departure-board/itinerary/1%7C404574%7C0%7C95%7C1012024?from=8578143&routeIndex=9","transportDesignation":{"vehicleType":"TRAMWAY","transportName":"Tramway","transportDisplayName":"Tramway 8","transportInsignia":{"identifier":"T","detail":"8","displayName":"T 8"},"transportExtraInfo":"8087"},"accessibilityText":"Tramway T 8, Departure at 13 12 on Stop F direction Basel Kleinhüningen."},{"departureDisplayTime":"13:12","departureDateTime":"2024-01-01T13:12:00+01:00","directionDisplayTitle":"Dornach, Bahnhof","quayDisplayName":"G","realtimeTypes":[],"itineraryUrl":"api/timetable/v1/itineraries/1%7C405456%7C0%7C95%7C1012024?routeIndexFrom=21","itineraryUrlOld":"departure-board/itinerary/1%7C405456%7C0%7C95%7C1012024?from=8578143&routeIndex=21","transportDesignation":{"vehicleType":"TRAMWAY","transportName":"Tramway","transportDisplayName":"Tramway 10","transportInsignia":{"identifier":"T","detail":"10","displayName":"T 10"},"transportExtraInfo":"20281"},"accessibilityText":"Tramway T 10, Departure at 13 12 on Stop G direction Dornach Bahnhof."},{"departureDisplayTime":"13:13","departureDateTime":"2024-01-01T13:13:00+01:00","directionDisplayTitle":"Köln Hbf","quayDisplayName":"12","realtimeTypes":["CANCELLED"],"itineraryUrl":"api/timetable/v1/itineraries/1%7C387670%7C0%7C95%7C1012024?routeIndexFrom=0","itineraryUrlOld":"departure-board/itinerary/1%7C387670%7C0%7C95%7C1012024?from=8500010&routeIndex=0","transportDesignation":{"vehicleType":"TRAIN","transportName":"InterCityExpress","transportDisplayName":"InterCityExpress","transportInsignia":{"identifier":"ICE","displayName":"ICE"},"transportExtraInfo":"106"},"accessibilityText":"Train ICE, Departure at 13 13 on Platform 12 direction Köln Hbf Cancellation."}]}
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"nearestDepartureStationName":"_","departures":[{"departureDisplayTime":"13:12","departureDateTime":"2024-01-01T13:12:00+01:00","directionDisplayTitle":"Hinwil","quayDisplayName":"33","realtimeTypes":[],"itineraryUrl":"api/timetable/v1/itineraries/1%7C81907%7C9%7C95%7C1012024?routeIndexFrom=7","itineraryUrlOld":"departure-board/itinerary/1%7C81907%7C9%7C95%7C1012024?from=8503000&routeIndex=7","transportDesignation":{"vehicleType":"TRAIN","transportName":"Urban train","transportDisplayName":"Urban train 14","transportInsignia":{"identifier":"S","detail":"14","displayName":"S14"},"transportExtraInfo":"19449"},"accessibilityText":"Train S 14, Departure at 13 12 on Platform 33 direction Hinwil."},{"departureDisplayTime":"13:12","departureDateTime":"2024-01-01T13:12:00+01:00","directionDisplayTitle":"Chur","quayDisplayName":"8","realtimeTypes":[],"itineraryUrl":"api/timetable/v1/itineraries/1%7C111255%7C0%7C95%7C1012024?routeIndexFrom=6","itineraryUrlOld":"departure-board/itinerary/1%7C111255%7C0%7C95%7C1012024?from=8503000&routeIndex=6","transportDesignation":{"vehicleType":"TRAIN","transportName":"InterRegio","transportDisplayName":"InterRegio","transportInsignia":{"identifier":"IR","detail":"35","displayName":"IR 35"},"transportExtraInfo":"2369"},"accessibilityText":"Train IR 35, Departure at 13 12 on Platform 8 direction Chur."},{"departureDisplayTime":"13:12","departureDateTime":"2024-01-01T13:12:00+01:00","directionDisplayTitle":"Zürich, Albisgütli","realtimeTypes":[],"itineraryUrl":"api/timetable/v1/itineraries/1%7C136788%7C17%7C95%7C1012024?routeIndexFrom=16","itineraryUrlOld":"departure-board/itinerary/1%7C136788%7C17%7C95%7C1012024?from=8587349&routeIndex=16","transportDesignation":{"vehicleType":"TRAMWAY","transportName":"Tramway","transportDisplayName":"Tramway 13","transportInsignia":{"identifier":"T","detail":"13","displayName":"T 13"},"transportExtraInfo":"4800"},"accessibilityText":"Tramway T 13, Departure at 13 12 direction Zürich Albisgütli."},{"departureDisplayTime":"13:12","departureDateTime":"2024-01-01T13:12:00+01:00","directionDisplayTitle":"Zürich, Klusplatz","realtimeTypes":[],"itineraryUrl":"api/timetable/v1/itineraries/1%7C137329%7C17%7C95%7C1012024?routeIndexFrom=13","itineraryUrlOld":"departure-board/itinerary/1%7C137329%7C17%7C95%7C1012024?from=8587348&routeIndex=13","transportDesignation":{"vehicleType":"TRAMWAY","transportName":"Tramway","transportDisplayName":"Tramway 3","transportInsignia":{"identifier":"T","detail":"3","displayName":"T 3"},"transportExtraInfo":"4811"},"accessibilityText":"Tramway T 3, Departure at 13 12 direction Zürich Klusplatz."},{"departureDisplayTime":"13:13","departureDateTime":"2024-01-01T13:13:00+01:00","directionDisplayTitle":"Zürich, Zoo","realtimeTypes":[],"itineraryUrl":"api/timetable/v1/itineraries/1%7C137293%7C19%7C95%7C1012024?routeIndexFrom=0","itineraryUrlOld":"departure-board/itinerary/1%7C137293%7C19%7C95%7C1012024?from=8591067&routeIndex=0","transportDesignation":{"vehicleType":"TRAMWAY","transportName":"Tramway","transportDisplayName":"Tramway 6","transportInsignia":{"identifier":"T","detail":"6","displayName":"T 6"},"transportExtraInfo":"5043"},"accessibilityText":"Tramway T 6, Departure at 13 13 direction Zürich Zoo."},{"departureDisplayTime":"13:13","departureDateTime":"2024-01-01T13:13:00+01:00","directionDisplayTitle":"Zürich, Bahnhofplatz/HB","realtimeTypes":[],"itineraryUrl":"api/timetable/v1/itineraries/1%7C157634%7C5%7C95%7C1012024?routeIndexFrom=14","itineraryUrlOld":"departure-board/itinerary/1%7C157634%7C5%7C95%7C1012024?from=8591368&routeIndex=14","transportDesignation":{"vehicleType":"TRAMWAY","transportName":"Tramway","transportDisplayName":"Tramway 17","transportInsignia":{"identifier":"T","detail":"17","displayName":"T 17"},"transportExtraInfo":"4860"},"accessibilityText":"Tramway T 17, Departure at 13 13 direction Zürich Bahnhofplatz/HB."},{"departureDisplayTime":"13:13","departureDateTime":"2024-01-01T13:13:00+01:00","directionDisplayTitle":"Zürich, Werdhölzli","realtimeTypes":[],"itineraryUrl":"api/timetable/v1/itineraries/1%7C164539%7C15%7C95%7C1012024?routeIndexFrom=2","itineraryUrlOld":"departure-board/itinerary/1%7C164539%7C15%7C95%7C1012024?from=8591368&routeIndex=2","transportDesignation":{"vehicleType":"TRAMWAY","transportName":"Tramway","transportDisplayName":"Tramway 17","transportInsignia":{"identifier":"T","detail":"17","displayName":"T 17"},"transportExtraInfo":"5001"},"accessibilityText":"Tramway T 17, Departure at 13 13 direction Zürich Werdhölzli."},{"departureDisplayTime":"13:13","departureDateTime":"2024-01-01T13:13:00+01:00","directionDisplayTitle":"Stettbach, Bahnhof","realtimeTypes":[],"itineraryUrl":"api/timetable/v1/itineraries/1%7C186119%7C1%7C95%7C1012024?routeIndexFrom=13","itineraryUrlOld":"departure-board/itinerary/1%7C186119%7C1%7C95%7C1012024?from=8591067&routeIndex=13","transportDesignation":{"vehicleType":"TRAMWAY","transportName":"Tramway","transportDisplayName":"Tramway 7","transportInsignia":{"identifier":"T","detail":"7","displayName":"T 7"},"transportExtraInfo":"4853"},"accessibilityText":"Tramway T 7, Departure at 13 13 direction Stettbach Bahnhof."},{"departureDisplayTime":"13:13","departureDateTime":"2024-01-01T13:13:00+01:00","directionDisplayTitle":"Zürich, Hermetschloo","realtimeTypes":[],"itineraryUrl":"api/timetable/v1/itineraries/1%7C235790%7C17%7C95%7C1012024?routeIndexFrom=18","itineraryUrlOld":"departure-board/itinerary/1%7C235790%7C17%7C95%7C1012024?from=8587348&routeIndex=18","transportDesignation":{"vehicleType":"BUS","transportName":"Bus","transportDisplayName":"Bus 31","transportInsignia":{"identifier":"B","detail":"31","displayName":"B 31"},"transportExtraInfo":"8881"},"accessibilityText":"Bus B 31, Departure at 13 13 direction Zürich Hermetschloo."}]}
Binary file not shown.
Loading

0 comments on commit 263f976

Please sign in to comment.