summaryrefslogtreecommitdiff
path: root/lib/Travel/Status/DE/HAFAS.pm
diff options
context:
space:
mode:
authorBirte Kristina Friesel <derf@finalrewind.org>2024-04-04 13:17:59 +0200
committerBirte Kristina Friesel <derf@finalrewind.org>2024-04-04 13:17:59 +0200
commite7156affaff609078ae25efb4ba5d3a3b3473c20 (patch)
tree3dd3bd48a05858df16c51a11ac9402ece1954ad9 /lib/Travel/Status/DE/HAFAS.pm
parent7e92994838ae4c4548c2569f303340756793a0f4 (diff)
add CMTA service
Diffstat (limited to 'lib/Travel/Status/DE/HAFAS.pm')
-rw-r--r--lib/Travel/Status/DE/HAFAS.pm36
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',