summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorBirte Kristina Friesel <derf@finalrewind.org>2024-08-10 11:39:57 +0200
committerBirte Kristina Friesel <derf@finalrewind.org>2024-08-10 11:39:57 +0200
commit563feae6991aaaa0bf3247d8e16ad5a078d7db7c (patch)
tree971dd1b76bd1ef6163924f531b6d74bcf4ea54fe /lib
parent2de6379ecc6dac0001c9ee1bdca600fc41ca210a (diff)
Add BVG endpoint
via https://github.com/public-transport/transport-apis
Diffstat (limited to 'lib')
-rw-r--r--lib/Travel/Status/DE/HAFAS.pm23
1 files changed, 23 insertions, 0 deletions
diff --git a/lib/Travel/Status/DE/HAFAS.pm b/lib/Travel/Status/DE/HAFAS.pm
index 19d633c..e8b55a5 100644
--- a/lib/Travel/Status/DE/HAFAS.pm
+++ b/lib/Travel/Status/DE/HAFAS.pm
@@ -130,6 +130,29 @@ my %hafas_instance = (
lang => 'deu',
},
},
+ BVG => {
+ stopfinder => 'https://bvg-apps-ext.hafas.de/bin/ajax-getstop.exe',
+ mgate => 'https://bvg-apps-ext.hafas.de/bin/mgate.exe',
+ name => 'Berliner Verkehrsbetriebe',
+ productbits => [qw[s u tram bus]],
+ languages => [qw[de en]],
+ request => {
+ client => {
+ type => 'WEB',
+ id => 'VBB',
+ v => 10002,
+ name => 'webapp',
+ l => 'vs_webapp',
+ },
+ ext => 'BVG.1',
+ ver => '1.72',
+ auth => {
+ type => 'AID',
+ aid => 'dVg4TZbW8anjx9z' . 'tPwe2uk4LVRi9wO',
+ },
+ lang => 'deu',
+ },
+ },
CMTA => {
stopfinder => 'https://capmetro.hafas.cloud/bin/ajax-getstop.exe',
mgate => 'https://capmetro.hafas.cloud/bin/mgate.exe',