summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBirte Kristina Friesel <birte.friesel@uos.de>2024-09-26 18:26:06 +0200
committerBirte Kristina Friesel <birte.friesel@uos.de>2024-09-26 18:26:06 +0200
commit964211d6c82f31b52ddc5b52651dc38f973aa0e3 (patch)
treeb6ca17791b7f4eed2095a8f63a473f9f7e59876a
parentb53be55b626603add954c903812df5360f7f22f0 (diff)
stopseq also supports outputFormat=JSON
But neither provides occupancy data
-rw-r--r--lib/Travel/Status/DE/EFA.pm2
1 files changed, 2 insertions, 0 deletions
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},