This page shows deatails for a MVG-Station in munich and the next departing vehicles:
back to adress-search fc bayernservingLines:
- 294: REGIONAL_BUS to Garching-Hochbrück (U)
- 295: REGIONAL_BUS to Oberschleißheim (S)
current time: 10:20:53
departures:
4 Min | 10:25 | 294 | München, Am Hart (U) | |
10 Min | 10:31 | 294 | Garching-Hochbrück (U) | |
24 Min | 10:45 | 294 | München, Am Hart (U) | |
30 Min | 10:51 | 294 | Garching-Hochbrück (U) | |
34 Min | 10:55 | 295 | München, Am Hart (U) | |
44 Min | 11:05 | 294 | München, Am Hart (U) | |
50 Min | 11:11 | 294 | Garching-Hochbrück (U) | |
60 Min | 11:21 | 295 | Oberschleißheim (S) | |
1 Hrs, 4 Min | 11:25 | 294 | München, Am Hart (U) | |
1 Hrs, 10 Min | 11:31 | 294 | Garching-Hochbrück (U) | |
1 Hrs, 24 Min | 11:45 | 294 | München, Am Hart (U) | |
1 Hrs, 30 Min | 11:51 | 294 | Garching-Hochbrück (U) |
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>