diff options
author | Birte Kristina Friesel <derf@finalrewind.org> | 2024-08-10 20:20:27 +0200 |
---|---|---|
committer | Birte Kristina Friesel <derf@finalrewind.org> | 2024-08-10 20:20:27 +0200 |
commit | 9ad2a5fa1c813e50ab287d60789fccfa1b9e5281 (patch) | |
tree | ebd9404232538092c3d87955efff8c532b86a600 | |
parent | 4c9056d8aa1f4e5c804b116252a7ed189085435b (diff) |
Add KVB backend
-rw-r--r-- | lib/Travel/Status/DE/HAFAS.pm | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/lib/Travel/Status/DE/HAFAS.pm b/lib/Travel/Status/DE/HAFAS.pm index 0abad7c..3401793 100644 --- a/lib/Travel/Status/DE/HAFAS.pm +++ b/lib/Travel/Status/DE/HAFAS.pm @@ -247,6 +247,35 @@ my %hafas_instance = ( salt => 'i5s7m3q9' . 'z6b4k1c2', micmac => 1, }, + KVB => { + mgate => 'https://auskunft.kvb.koeln/gate', + name => 'Kölner Verkehrs-Betriebe', + productbits => [ + [ s => 'sub-urban trains' ], + [ tram => 'trams' ], + [ _ => undef ], + [ bus => 'buses' ], + [ ic => 'national trains' ], + [ regio => 'regional trains' ], + [ _ => undef ], + [ ondemand => 'taxi buses' ] + ], + request => { + client => { + id => 'HAFAS', + type => 'WEB', + name => 'webapp', + l => 'vs_webapp', + v => '154', + }, + ver => '1.58', + auth => { + type => 'AID', + aid => 'Rt6foY5' . 'zcTTRXMQs', + }, + lang => 'deu', + }, + }, NAHSH => { mgate => 'https://nah.sh.hafas.de/bin/mgate.exe', stopfinder => 'https://nah.sh.hafas.de/bin/ajax-getstop.exe', |