diff options
author | Birte Kristina Friesel <derf@finalrewind.org> | 2024-04-04 13:17:59 +0200 |
---|---|---|
committer | Birte Kristina Friesel <derf@finalrewind.org> | 2024-04-04 13:17:59 +0200 |
commit | e7156affaff609078ae25efb4ba5d3a3b3473c20 (patch) | |
tree | 3dd3bd48a05858df16c51a11ac9402ece1954ad9 /lib/Travel/Status | |
parent | 7e92994838ae4c4548c2569f303340756793a0f4 (diff) |
add CMTA service
Diffstat (limited to 'lib/Travel/Status')
-rw-r--r-- | lib/Travel/Status/DE/HAFAS.pm | 36 |
1 files changed, 36 insertions, 0 deletions
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', |