Skip to content

Commit

Permalink
add HAFAS mgate.exe endpoints [todo]
Browse files Browse the repository at this point in the history
  • Loading branch information
derhuerst committed Feb 6, 2021
1 parent 6c1b969 commit 4aba333
Show file tree
Hide file tree
Showing 33 changed files with 1,050 additions and 0 deletions.
55 changes: 55 additions & 0 deletions data/at/oebb-hafas-mgate.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
{
"name": "Österreichische Bundesbahnen (ÖBB)",
"type": {
"hafasMgate": true
},
"supportedLanguages": [
"de"
],
"timezone": "Europe/Vienna",
"attribution": {
"name": "ÖBB-Personenverkehr AG",
"license": "todo",
"homepage": "https://www.oebb.at/",
},
"coverage": {
"realtimeCoverage": {
"region": ["AT"],
},
"regularCoverage": {
"region": ["CH", "DE", "IT", "SI", "HU", "SK", "CZ", "FR", "BE", "LU"],
},
"anyCoverage": {
"region": ["NL"],
},
},
"options": {
"endpoint": "http://fahrplan.oebb.at/bin/mgate.exe",
"client": {
"type": "IPA",
"id": "OEBB",
"v": "6000500",
"name": "oebbIPAD_ADHOC",
"os": "iOS 10.3.3"
},
"ver": "1.16",
"auth": {
"aid": "OWDL4fE4ixNiPBBm"
},
"lang": "de",
"lineModeMap": {
"1": "InterCityExpress & RailJet",
"2": "InterCity & EuroCity",
"4": "InterCity & EuroCity",
"8": "Durchgangszug & EuroNight",
"16": "Regional & RegionalExpress",
"32": "S-Bahn",
"64": "Bus",
"128": "Ferry",
"256": "U-Bahn",
"512": "Tram",
"2048": "on-call transit, lifts, etc",
"4096": "Durchgangszug & EuroNight"
}
}
}
31 changes: 31 additions & 0 deletions data/at/vkg-hafas-mgate.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"type": {
"hafasMgate": true
},
"options": {
"auth": {
"type": "AID",
"aid": "wf7mcf9bv3nv8g5f"
},
"client": {
"id": "VAO",
"type": "WEB",
"name": "webapp",
"l": "vs_vkg"
},
"endpoint": "https://routenplaner.kaerntner-linien.at/bin/mgate.exe",
"lineModeMap": {
"1": "Bahn & S-Bahn",
"2": "Bahn & S-Bahn",
"4": "U-Bahn",
"16": "Straßenbahn",
"32": "Fernbus",
"64": "Regionalbus",
"128": "Stadtbus",
"256": "Seil-/Zahnradbahn",
"512": "Schiff",
"1024": "Anrufsammeltaxi",
"2048": "sonstige Busse"
}
}
}
31 changes: 31 additions & 0 deletions data/at/vvt-hafas-mgate.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"type": {
"hafasMgate": true
},
"options": {
"auth": {
"type": "AID",
"aid": "wf7mcf9bv3nv8g5f"
},
"client": {
"id": "VAO",
"type": "WEB",
"name": "webapp",
"l": "vs_vvt"
},
"endpoint": "https://smartride.vvt.at/bin/mgate.exe",
"lineModeMap": {
"1": "Bahn & S-Bahn",
"2": "Bahn & S-Bahn",
"4": "U-Bahn",
"16": "Straßenbahn",
"32": "Fernbus",
"64": "Regionalbus",
"128": "Stadtbus",
"256": "Seil-/Zahnradbahn",
"512": "Schiff",
"1024": "Anrufsammeltaxi",
"2048": "sonstige Busse"
}
}
}
29 changes: 29 additions & 0 deletions data/be/nmbs-sncb-hafas-mgate.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"type": {
"hafasMgate": true
},
"options": {
"endpoint": "https://www.belgianrail.be/jp/sncb-nmbs-routeplanner/mgate.exe",
"client": {
"type": "IPH",
"id": "SNCB",
"name": "sncb",
"v": "4030200"
},
"ver": "1.16",
"auth": {
"type": "AID",
"aid": "sncb-mobi"
},
"lang": "fr",
"lineModeMap": {
"1": "high-speed train",
"4": "InterCity/Peak",
"16": "S-train",
"64": "local train",
"256": "Metro",
"512": "bus",
"1024": "tram"
}
}
}
31 changes: 31 additions & 0 deletions data/ch/sbb-cff-ffs-hafas-mgate.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"type": {
"hafasMgate": true
},
"options": {
"endpoint": "http://fahrplan.sbb.ch/bin/mgate.exe",
"client": {
"type": "AND",
"id": "DBZUGRADARNETZ",
"v": ""
},
"ver": "1.18",
"auth": {
"aid": "hf7mcf9bv3nv8g5f",
"type": "AID"
},
"lang": "deu",
"lineModeMap": {
"1": "ICE/EN/CNL/ES/RJ/TGV/THA",
"2": "EC/IC/ICN/OEC",
"4": "IR/PE",
"8": "RE/D",
"16": "Schiff/Fähre/Dampfschiff",
"32": "S/SN/R/TER/RB",
"64": "Bus/Taxi",
"128": "Standseilbahn/Gondelbahn/Luftseilbahn/Sesselbahn",
"256": "Autoreisezug/Extrazug",
"512": "Tram/Metro"
}
}
}
32 changes: 32 additions & 0 deletions data/ch/zvv-hafas-mgate.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"type": {
"hafasMgate": true
},
"options": {
"endpoint": "https://online.fahrplan.zvv.ch/bin/mgate.exe",
"client": {
"type": "IPH",
"id": "ZVV",
"name": "zvvPROD-STORE",
"v": "6000400"
},
"ext": "ZVV.2",
"ver": "1.24",
"auth": {
"type": "AID",
"aid": "TLRUqdDPF7ttB824Yoy2BN8mk"
},
"lineModeMap": {
"1": "High Speed Train",
"2": "High Speed Train",
"4": "High Speed Train",
"8": "High Speed Train",
"16": "Boat",
"32": "Urban Train",
"64": "Bus",
"128": "Cable Car",
"256": "Night Train",
"512": "Tram"
}
}
}
31 changes: 31 additions & 0 deletions data/de/avv-hafas-mgate.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"type": {
"hafasMgate": true
},
"options": {
"auth": {
"type": "AID",
"aid": "4vV1AcH3N511icH"
},
"client": {
"id": "AVV_AACHEN",
"type": "WEB",
"name": "webapp",
"l": "vs_avv"
},
"endpoint": "https://auskunft.avv.de/bin/mgate.exe",
"lineModeMap": {
"1": "Regionalzug",
"2": "Fernzug",
"4": "ICE/Thalys",
"8": "Fernbus",
"16": "S-Bahn",
"32": "U-Bahn",
"64": "Straßenbahn",
"128": "Bus",
"256": "Bus, Verstärkerfahrt",
"512": "Bedarfsverkehr",
"1024": "Fähre"
}
}
}
51 changes: 51 additions & 0 deletions data/de/bvg-hafas-mgate.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
{
"name": "Berliner Verkehrsbetriebe (BVG)",
"type": {
"hafasMgate": true
},
"supportedLanguages": [
"de",
"en"
],
"timezone": "Europe/Berlin",
"attribution": {
"isProprietary": true,
"name": "Berliner Verkehrsbetriebe",
"homepage": "https://www.bvg.de/"
},
"coverage": {
"realtimeCoverage": {
"region": ["DE-BE", "DE-BB"],
},
"regularCoverage": {
"region": ["DE"],
},
"anyCoverage": {
"region": ["PL", "CZ"],
},
},
"options": {
"endpoint": "https://bvg-apps.hafas.de/bin/mgate.exe",
"client": {
"type": "IPA",
"id": "BVG",
"name": "FahrInfo",
"v": "6020000"
},
"ext": "BVG.1",
"ver": "1.21",
"auth": {
"type": "AID",
"aid": "Mz0YdF9Fgx0Mb9"
},
"lineModeMap": {
"1": "S-Bahn",
"2": "U-Bahn",
"4": "Tram",
"8": "Bus",
"16": "Fähre",
"32": "IC/ICE",
"64": "RB/RE"
}
}
}
31 changes: 31 additions & 0 deletions data/de/db-busradar-nrw-hafas-mgate.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"type": {
"hafasMgate": true
},
"options": {
"endpoint": "https://db-regio.hafas.de/bin/hci/mgate.exe",
"client": {
"id": "DB-REGIO",
"name": "DB Busradar NRW",
"os": "Android 9",
"type": "AND",
"v": 100021
},
"ext": "DB.REGIO.1",
"ver": "1.10",
"auth": {
"type": "AID",
"aid": "OGBAqytjHhCvr0J4"
},
"lineModeMap": {
"1": "InterCityExpress",
"2": "InterCity & EuroCity",
"4": "Regionalexpress",
"8": "Regionalzug",
"16": "S-Bahn",
"32": "Bus",
"64": "Ferry",
"512": "AnrufSammelTaxi"
}
}
}
17 changes: 17 additions & 0 deletions data/de/db-hafas-mgate.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,23 @@
"fr",
"es"
],
"timezone": "Europe/Berlin",
"attribution": {
"name": "DB Fernverkehr AG",
"license": "todo",
"homepage": "https://www.bahn.de/",
},
"coverage": {
"realtimeCoverage": {
"region": ["DE", "LU", "CH", "AT"],
},
"regularCoverage": {
"region": ["PL", "CZ", "SK", "HU", "SI", "RO", "BE", ],
},
"anyCoverage": {
"region": ["UA", "HR", "BG", "IT", "FR", "ES", "PT", "GB", "DK", "SE"],
},
},
"options": {
"auth": {
"aid": "n91dB8Z77MLdoR0K"
Expand Down
31 changes: 31 additions & 0 deletions data/de/db-sbahn-muenchen-hafas-mgate.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"type": {
"hafasMgate": true
},
"options": {
"endpoint": "https://s-bahn-muenchen.hafas.de/bin/540/mgate.exe",
"client": {
"type": "IPH",
"id": "DB-REGIO-MVV",
"name": "MuenchenNavigator",
"v": "5010100"
},
"ext": "DB.R15.12.a",
"ver": "1.21",
"auth": {
"type": "AID",
"aid": "d491MVVhz9ZZts23"
},
"lineModeMap": {
"1": "InterCityExpress",
"2": "InterCity/EuroCity",
"4": "Interregio/Schnellzug",
"8": "Regio- und Nahverkehr",
"16": "S-Bahn",
"32": "Bus",
"128": "U-Bahn",
"256": "Straßenbahn",
"512": "Anrufsammeltaxi"
}
}
}
Loading

0 comments on commit 4aba333

Please sign in to comment.