Unverified Commit e7156aff authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

add CMTA service

parent 7e929948
Loading
Loading
Loading
Loading
+36 −0
Original line number Diff line number Diff line
@@ -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',