summaryrefslogtreecommitdiff
path: root/lib/Travel/Status/DE/HAFAS
diff options
context:
space:
mode:
authorBirte Kristina Friesel <birte.friesel@uos.de>2025-03-05 21:28:41 +0100
committerBirte Kristina Friesel <birte.friesel@uos.de>2025-03-05 21:28:41 +0100
commit5e77b1d20948233997fc03420cb986d14452ae62 (patch)
tree429014f820f5ee5e87913f0328cef771a8c2e1fd /lib/Travel/Status/DE/HAFAS
parent73f566d47bd164cb885c6bc2b4d5f535e98a2411 (diff)
Revert "Services: DB is gone for good"
This reverts commit 978f1345654b887efd192e9ee0496ed2aac90dcd. we still need DB for testing, whoops
Diffstat (limited to 'lib/Travel/Status/DE/HAFAS')
-rw-r--r--lib/Travel/Status/DE/HAFAS/Services.pm.PL21
1 files changed, 21 insertions, 0 deletions
diff --git a/lib/Travel/Status/DE/HAFAS/Services.pm.PL b/lib/Travel/Status/DE/HAFAS/Services.pm.PL
index ee61eb2..93696bd 100644
--- a/lib/Travel/Status/DE/HAFAS/Services.pm.PL
+++ b/lib/Travel/Status/DE/HAFAS/Services.pm.PL
@@ -130,6 +130,27 @@ my %hafas_instance = (
),
stopfinder => 'https://capmetro.hafas.cloud/bin/ajax-getstop.exe',
},
+ DB => {
+ load_instance('de/db'),
+ stopfinder => 'https://reiseauskunft.bahn.de/bin/ajax-getstop.exe',
+ salt => 'bdI8UVj40K5fvxwf',
+ languages => [qw[de en fr es]],
+ request => {
+ client => {
+ id => 'DB',
+ v => '20100000',
+ type => 'IPH',
+ name => 'DB Navigator',
+ },
+ ext => 'DB.R22.04.a',
+ ver => '1.78',
+ auth => {
+ type => 'AID',
+ aid => 'n91dB8Z77MLdoR0K'
+ },
+ lang => 'deu'
+ },
+ },
DSB => { load_instance( 'dk/rejseplanen', lang => 'deu' ), },
IE => {
load_instance(