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.5

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.5
File Size Uploaded Provenance Actions
mvg_api-1.2.5.tar.gz 5.4 kB Without provenance Details for mvg_api-1.2.5.tar.gz

Built distribution (wheel)

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

Total release size: 11.5 kB

Release files / mvg_api-1.2.5.tar.gz

Download URL mvg_api-1.2.5.tar.gz
Size 5.4 kB
Tags Source
SHA-256 checksum
How to use checksums
9588b03127e435e5973a1ce0f780de66b0e378bbb7b971b6c1937451c153b206
BLAKE2b-256 checksum
How to use checksums
376b32dec07c7f1207d9306a8eecd384840ff0ed47192468ec632665b977e5f6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.24.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.40.0 CPython/3.8.5

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

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

Security for mvg-api 1.2.5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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