summaryrefslogtreecommitdiff
path: root/lib/Travel/Status/DE
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Travel/Status/DE')
-rw-r--r--lib/Travel/Status/DE/HAFAS.pm35
1 files changed, 35 insertions, 0 deletions
diff --git a/lib/Travel/Status/DE/HAFAS.pm b/lib/Travel/Status/DE/HAFAS.pm
index 59c99c2..fd49287 100644
--- a/lib/Travel/Status/DE/HAFAS.pm
+++ b/lib/Travel/Status/DE/HAFAS.pm
@@ -95,6 +95,41 @@ my %hafas_instance = (
lang => 'en',
},
},
+ BLS => {
+ mgate => 'https://bls.hafas.de/bin/mgate.exe',
+ stopfinder => 'https://bls.hafas.de/bin/ajax-stopfinder.exe',
+ name => 'BLS AG',
+ time_zone => 'Europe/Zurich',
+ productbits => [
+ [ ice => 'long distance trains' ],
+ [ ic_ec => 'long distance trains' ],
+ [ ir => 'inter-regio trains' ],
+ [ regio => 'regional trains' ],
+ [ ferry => 'maritime transit' ],
+ [ s => 'suburban trains' ],
+ [ bus => 'busses' ],
+ [ fun => 'funicular / gondola' ],
+ [ _ => undef ],
+ [ tram => 'trams' ],
+ [ _ => undef ],
+ [ _ => undef ],
+ [ car => 'Autoverlad' ]
+ ],
+ languages => [qw[de fr it en]],
+ request => {
+ client => {
+ id => 'HAFAS',
+ type => 'WEB',
+ name => 'webapp',
+ },
+ ver => '1.46',
+ auth => {
+ type => 'AID',
+ aid => '3jkAncud78HSo' . 'qclmN54812A',
+ },
+ lang => 'deu',
+ },
+ },
CMTA => {
stopfinder => 'https://capmetro.hafas.cloud/bin/ajax-getstop.exe',
mgate => 'https://capmetro.hafas.cloud/bin/mgate.exe',