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

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.6
File Size Uploaded Provenance Actions
mvg_api-1.2.6.tar.gz 5.5 kB Without provenance Details for mvg_api-1.2.6.tar.gz

Built distribution (wheel)

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

Total release size: 11.7 kB

Release files / mvg_api-1.2.6.tar.gz

Download URL mvg_api-1.2.6.tar.gz
Size 5.5 kB
Tags Source
SHA-256 checksum
How to use checksums
b50923f0212e3521397f2aa464043b45a179e7acc027163fa6638677fc356e42
BLAKE2b-256 checksum
How to use checksums
873ed59d9465c2569e2a831199a422caa1159b7b562fcf648b3d18e6b2c7f480
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.6

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

Download URL mvg_api-1.2.6-py3-none-any.whl
Size 6.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
be411f69195b5f3980b13236d605b6db030a0867b9424ba0821e13dc4e95d040
BLAKE2b-256 checksum
How to use checksums
4e2371f6165b0471fd52baa3dfca72b903f7a62c8a997dd05d3c472097e42566
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.6

Security for mvg-api 1.2.6

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