summaryrefslogtreecommitdiff
path: root/lib/Travel/Status
diff options
context:
space:
mode:
authorBirte Kristina Friesel <derf@finalrewind.org>2024-09-28 08:33:05 +0200
committerBirte Kristina Friesel <derf@finalrewind.org>2024-09-28 08:33:05 +0200
commit99ebdfe5e7f171c3fc312b2a8f61e1480fdf991d (patch)
tree2a3da23cfc5dac5de482e72155d7eba996d8c850 /lib/Travel/Status
parent8977ed62d4d59d9f65235cb8214def781dc5674a (diff)
Add bwegt backend; augment others with transport-apis data
Diffstat (limited to 'lib/Travel/Status')
-rw-r--r--lib/Travel/Status/DE/EFA/Services.pm.PL47
1 files changed, 17 insertions, 30 deletions
diff --git a/lib/Travel/Status/DE/EFA/Services.pm.PL b/lib/Travel/Status/DE/EFA/Services.pm.PL
index be3bffb..845ce7a 100644
--- a/lib/Travel/Status/DE/EFA/Services.pm.PL
+++ b/lib/Travel/Status/DE/EFA/Services.pm.PL
@@ -31,12 +31,16 @@ sub load_instance {
return %ret;
}
+# GVH: 403
+# Rolph: 404
+# VRT: Encoding issues
my %efa_instance = (
BSVG => {
url => 'https://bsvg.efa.de/bsvagstd',
name => 'Braunschweiger Verkehrs-GmbH',
},
- DING => {
+ bwegt => { load_instance('de/bwegt') },
+ DING => {
url => 'https://www.ding.eu/ding3',
name => 'Donau-Iller Nahverkehrsverbund',
},
@@ -46,10 +50,7 @@ my %efa_instance = (
name => 'Linz AG',
encoding => 'iso-8859-15',
},
- MVV => {
- url => 'https://efa.mvv-muenchen.de/mobile',
- name => 'Münchner Verkehrs- und Tarifverbund',
- },
+ MVV => { load_instance('de/mvv') },
NVBW => {
url => 'https://www.efa-bw.de/nvbw',
name => 'Nahverkehrsgesellschaft Baden-Württemberg',
@@ -58,40 +59,26 @@ my %efa_instance = (
url => 'https://efa.vagfr.de/vagfr3',
name => 'Freiburger Verkehrs AG',
},
- VGN => {
- url => 'https://efa.vgn.de/vgnExt_oeffi',
- name => 'Verkehrsverbund Grossraum Nuernberg',
- },
-
- # HTTPS: certificate verification fails
- VMV => {
- url => 'http://efa.vmv-mbh.de/vmv',
- name => 'Verkehrsgesellschaft Mecklenburg-Vorpommern',
- },
+ VGN =>
+ { load_instance( 'de/vgn', url => 'https://efa.vgn.de/vgnExt_oeffi' ) },
+ VMV => { load_instance('de/vmv') },
VRN => {
url => 'https://www.vrn.de/mngvrn/',
name => 'Verkehrsverbund Rhein-Neckar',
},
VRR => {
- url => 'https://efa.vrr.de/vrr',
- name => 'Verkehrsverbund Rhein-Ruhr',
+ load_instance(
+ 'de/vrr',
+ url => 'https://efa.vrr.de/vrr',
+ ),
},
- VRR2 => {
- url => 'https://app.vrr.de/standard',
- name => 'Verkehrsverbund Rhein-Ruhr (alternative)',
- },
- VRR3 => {
- url => 'https://efa.vrr.de/rbgstd3',
- name => 'Verkehrsverbund Rhein-Ruhr (alternative alternative)',
- },
- VVO => {
+ VRR2 => { load_instance('de/vrr') },
+ VRR3 => { load_instance( 'de/vrr', url => 'https://efa.vrr.de/rbgstd3' ) },
+ VVO => {
url => 'https://efa.vvo-online.de/VMSSL3',
name => 'Verkehrsverbund Oberelbe',
},
- VVS => {
- url => 'https://www2.vvs.de/vvs',
- name => 'Verkehrsverbund Stuttgart',
- },
+ VVS => { load_instance('de/vvs') },
);