From cada2dd4b890a907ede8fab4c6121221a2bd04fb Mon Sep 17 00:00:00 2001 From: Birte Kristina Friesel Date: Mon, 1 Apr 2024 10:33:56 +0200 Subject: Add Iarnród Éireann backend MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/Travel/Status/DE/HAFAS.pm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) 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', -- cgit v1.2.3