From e7156affaff609078ae25efb4ba5d3a3b3473c20 Mon Sep 17 00:00:00 2001 From: Birte Kristina Friesel Date: Thu, 4 Apr 2024 13:17:59 +0200 Subject: add CMTA service --- lib/Travel/Status/DE/HAFAS.pm | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/lib/Travel/Status/DE/HAFAS.pm b/lib/Travel/Status/DE/HAFAS.pm index c331df9..b0b20db 100644 --- a/lib/Travel/Status/DE/HAFAS.pm +++ b/lib/Travel/Status/DE/HAFAS.pm @@ -90,6 +90,42 @@ my %hafas_instance = ( lang => 'en', }, }, + CMTA => { + stopfinder => 'https://capmetro.hafas.cloud/bin/ajax-getstop.exe', + mgate => 'https://capmetro.hafas.cloud/bin/mgate.exe', + name => 'Capital Metropolitan Transportation Authority', + time_zone => 'America/Chicago', + productbits => [ + [ _ => undef ], + [ _ => undef ], + [ _ => undef ], + [ regio => 'MetroRail' ], + [ _ => undef ], + [ bus => 'MetroBus' ], + [ _ => undef ], + [ _ => undef ], + [ _ => undef ], + [ _ => undef ], + [ _ => undef ], + [ _ => undef ], + [ rapid => 'MetroRapid' ], + ], + languages => [qw[en]], + request => { + client => { + id => 'CMTA', + type => 'IPH', + name => 'CapMetro', + v => 2, + }, + ver => '1.40', + auth => { + type => 'AID', + aid => 'ioslaskd' . 'cndrjcmlsd', + }, + lang => 'en', + }, + }, DB => { stopfinder => 'https://reiseauskunft.bahn.de/bin/ajax-getstop.exe', mgate => 'https://reiseauskunft.bahn.de/bin/mgate.exe', -- cgit v1.2.3