This page shows deatails for a MVG-Station in munich and the next departing vehicles:
back to adress-search fc bayernservingLines:
- U4: UBAHN to Arabellapark
- U5: UBAHN to Neuperlach Süd
- 16: TRAM to Effnerplatz
current time: 02:54:03
departures:
27 Min | 03:22 | U5 | Laimer Platz | Gleis 1 |
34 Min | 03:29 | U4 | Westendstraße | Gleis 1 |
41 Min | 03:36 | U5 | Neuperlach Süd | Gleis 2 |
45 Min | 03:40 | U4 | Arabellapark | Gleis 2 |
1 Hrs, 3 Min | 03:58 | U4 | Westendstraße | Gleis 1 |
1 Hrs, 13 Min | 04:08 | U5 | Neuperlach Süd | Gleis 2 |
1 Hrs, 13 Min | 04:08 | 16 | Romanplatz | |
1 Hrs, 16 Min | 04:11 | U5 | Laimer Platz | Gleis 1 |
1 Hrs, 20 Min | 04:15 | U4 | Arabellapark | Gleis 2 |
1 Hrs, 23 Min | 04:18 | U4 | Westendstraße | Gleis 1 |
1 Hrs, 32 Min | 04:27 | 16 | Effnerplatz | |
1 Hrs, 33 Min | 04:28 | 16 | Romanplatz |
Create a new JCI-template:
- urlparam4twig: stationid#su
- URL:
{% set su = "de:09162:180" %} {% if urlparam.stationid %}{% set su = urlparam.stationid | trim | url_encode %} {% endif %} https://www.mvg.de/api/fahrinfo/departure/{{su}}?footway=4
twig-template:
<a href="/pro-mvg-api-munchner-verkehrsverbund-adresssuche/?su={{urlparam.su | url_encode}}">back to adress-search {{urlparam.su | e | stripslashes }}</a><hr> servingLines:<br> <ul> {% for item in servingLines %} <li> {{item.lineNumber}}: {{item.product}} to {{item.destination}} </li> {% endfor %} </ul> <hr> {% set hour = 3600 %} {% set currenttimestamp = ("now"|date("U")) %} current time: {{ (currenttimestamp+hour) |date("H:i:s") }} <hr> departures:<br> <table border=1> {% for i in departures | slice(0, 12) %} {% set deltasec = (i.departureTime/1000 - currenttimestamp) %} <tr><td> {% set mindist = (deltasec/60) |round(0, "floor") %} {% if mindist>60 %} {% set hrs = (deltasec/60/60) | round(0, "floor") %} {{hrs}} Hrs, {{mindist-60*hrs}} Min {% else %} {{mindist}} Min {% endif %} </td><td> {{(i.departureTime/1000+hour) | date("H:i") }} </td><td> {{i.label}} </td><td> {{i.destination}} </td><td> {{i.platform}} </td></tr> {% endfor %} </table>