Skip to content

Commit

Permalink
add CMTA service
Browse files Browse the repository at this point in the history
  • Loading branch information
derf committed Apr 4, 2024
1 parent 7e92994 commit e7156af
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions lib/Travel/Status/DE/HAFAS.pm
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit e7156af

Please sign in to comment.