From fbc21f45c86704eda8de21ad62b63e935d702d93 Mon Sep 17 00:00:00 2001 From: Birte Kristina Friesel Date: Wed, 18 Sep 2024 19:01:18 +0200 Subject: API: Add departure and arrival platform Closes #164 --- lib/Travelynx.pm | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib') diff --git a/lib/Travelynx.pm b/lib/Travelynx.pm index 846e865..f8ace80 100755 --- a/lib/Travelynx.pm +++ b/lib/Travelynx.pm @@ -1902,6 +1902,7 @@ sub startup { uic => $status->{dep_eva}, longitude => $status->{dep_lon}, latitude => $status->{dep_lat}, + platform => $status->{dep_platform}, scheduledTime => $status->{sched_departure} ? $status->{sched_departure}->epoch : undef, @@ -1915,6 +1916,7 @@ sub startup { uic => $status->{arr_eva}, longitude => $status->{arr_lon}, latitude => $status->{arr_lat}, + platform => $status->{arr_platform}, scheduledTime => $status->{sched_arrival} ? $status->{sched_arrival}->epoch : undef, -- cgit v1.2.3