summaryrefslogtreecommitdiff
path: root/lib/Travel/Status/DE/HAFAS.pm
diff options
context:
space:
mode:
authorBirte Kristina Friesel <derf@finalrewind.org>2024-04-01 10:33:56 +0200
committerBirte Kristina Friesel <derf@finalrewind.org>2024-04-01 10:33:56 +0200
commitcada2dd4b890a907ede8fab4c6121221a2bd04fb (patch)
treefdfb4bfcee9836a11b78ebaf46bbd83d53b72cde /lib/Travel/Status/DE/HAFAS.pm
parent0c57f93284293bca09c7e6ee54f0139cc5715afb (diff)
Add Iarnród Éireann backend
Diffstat (limited to 'lib/Travel/Status/DE/HAFAS.pm')
-rw-r--r--lib/Travel/Status/DE/HAFAS.pm33
1 files changed, 33 insertions, 0 deletions
diff --git a/lib/Travel/Status/DE/HAFAS.pm b/lib/Travel/Status/DE/HAFAS.pm
index 1e0aa21..0017dca 100644
--- a/lib/Travel/Status/DE/HAFAS.pm
+++ b/lib/Travel/Status/DE/HAFAS.pm
@@ -113,6 +113,39 @@ my %hafas_instance = (
},
},
},
+ IE => {
+ stopfinder =>
+ 'https://journeyplanner.irishrail.ie/bin/ajax-getstop.exe',
+ mgate => 'https://journeyplanner.irishrail.ie/bin/mgate.exe',
+ name => 'Iarnród Éireann',
+ productbits => [
+ [ _ => undef ],
+ [ ic => 'national trains' ],
+ [ _ => undef ],
+ [ regio => 'regional trains' ],
+ [ dart => 'DART trains' ],
+ [ _ => undef ],
+ [ luas => 'LUAS trams' ],
+ ],
+ languages => [qw[en ga]],
+ request => {
+ client => {
+ id => 'IRISHRAIL',
+ type => 'IPA',
+ name => 'IrishRailPROD-APPSTORE',
+ v => '4000100',
+ os => 'iOS 12.4.8',
+ },
+ ver => '1.33',
+ auth => {
+ type => 'AID',
+ aid => 'P9bplgVCG' . 'nozdgQE',
+ },
+ lang => 'en',
+ },
+ salt => 'i5s7m3q9' . 'z6b4k1c2',
+ micmac => 1,
+ },
NAHSH => {
mgate => 'https://nah.sh.hafas.de/bin/mgate.exe',
stopfinder => 'https://nah.sh.hafas.de/bin/ajax-getstop.exe',