Skip to main content

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

Metadata

Release files for mvg-api 1.2.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mvg-api 1.2.4
File Size Uploaded
mvg_api-1.2.4.tar.gz 5.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for mvg-api 1.2.4
File Interpreter ABI Platform
mvg_api-1.2.4-py3-none-any.whl Python 3 none any Details

Total release size: 11.4 kB

Release files / mvg_api-1.2.4.tar.gz

Download URL mvg_api-1.2.4.tar.gz
Size 5.3 kB
Tags Source
SHA-256 checksum
How to use checksums
b93af33ec4a3bf6a38967cfefe9aad3b18ec619474d339d1a102020ecd1d667a
BLAKE2b-256 checksum
How to use checksums
2de5f1258a05a8f415ca91f12893cce5880e12af0c5fc0eae67d6fd2246ff3f5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.40.0 CPython/3.8.1

Release files / mvg_api-1.2.4-py3-none-any.whl

Download URL mvg_api-1.2.4-py3-none-any.whl
Size 6.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4175b2aef343ee56b7f92c9dadf4992f0e6529d28baddf9cc0a2fc367e842550
BLAKE2b-256 checksum
How to use checksums
f2c959fd22e4fa77c4fb5f7b36322b1beba13e1abb0cf563eaea205d45b89dc2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.40.0 CPython/3.8.1

Release history Release notifications | RSS feed

1.2.7

2 release files

1.2.6

2 release files

1.2.5

2 release files

This release

1.2.4 This release

2 release files

1.2.3

2 release files

1.2.2

2 release files

1.2.1

2 release files

1.2.0

2 release files

1.1.2

2 release files

1.1.1

1 release file

1.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page