.. python_mvg_api documentation master file, created by sphinx-quickstart on Tue Nov 8 21:17:56 2016. You can adapt this file completely to your liking, but it should at least contain the root `toctree` directive. python_mvg_api – Munich Public Transport made simple =========================================================== .. Contents: .. toctree:: :maxdepth: 2 Intro ----- Not too long ago, MVG (aka Münchner Verkehrsgesellschaft) relaunched their `Website `_, which now actually utilizes a JSON api! (I know, crazy, right?) This python module tries to provide easy to use access to most aspects of the mvg api[1]. It offers: * The next departures for any station in the MVV * This includes S-Bahn and Schienenersatzverkehr * Listing nearby stations based on geolocation * Search for Stations and POI * Routing * Current warnings about service interruptions Take a look at example.py, it shows some basic concepts, or at the rest of the docs, where everything should be adequately documented. .. [1] mvg.de uses stuff like an api key (although *they only give it to themselves*) and has some other quirks. Module documentation -------------------- .. automodule:: mvg_api :members: Indices and tables ------------------ * :ref:`genindex` .. * :ref:`modindex` * :ref:`search`