Skip to main content

Library for fetching departure and route data from the Munich public transport organisation MVG

Project description

python_mvg_api

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

Then, import mvg_api.

To get the id for a particular Station, use something like mvg_api.get_id_for_station("Hauptbahnhof").

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.

Documentation

Read the Documentation

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for mvg-api, version 1.2.4
Filename, size File type Python version Upload date Hashes
Filename, size mvg_api-1.2.4-py3-none-any.whl (6.1 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size mvg_api-1.2.4.tar.gz (5.3 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page