Library for fetching departure and route data from the Munich public transport organisation MVG
A library for fetching departures, routes and service interruptions from Munich Transport Authority MVG, using the newer JSON-api on mvg.de
Get it on pypi:
pip install mvg-api
To get the id for a particular Station, use something like
You can use this id for getting departures with
mvg_api.get_departures(6) and use it as the start or end of a route.
Release history Release notifications | RSS feed
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.