From 964211d6c82f31b52ddc5b52651dc38f973aa0e3 Mon Sep 17 00:00:00 2001 From: Birte Kristina Friesel Date: Thu, 26 Sep 2024 18:26:06 +0200 Subject: stopseq also supports outputFormat=JSON But neither provides occupancy data --- lib/Travel/Status/DE/EFA.pm | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/Travel') diff --git a/lib/Travel/Status/DE/EFA.pm b/lib/Travel/Status/DE/EFA.pm index 6404d89..d2a9174 100644 --- a/lib/Travel/Status/DE/EFA.pm +++ b/lib/Travel/Status/DE/EFA.pm @@ -229,6 +229,8 @@ sub new { }; if ( $opt{stopseq} ) { + + # outputFormat => 'JSON' also works; leads to different output $self->{post} = { line => $opt{stopseq}{stateless}, stop => $opt{stopseq}{stop_id}, -- cgit v1.2.3