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

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.3
File Size Uploaded Provenance Actions
mvg_api-1.2.3.tar.gz 5.3 kB Without provenance Details for mvg_api-1.2.3.tar.gz

Built distribution (wheel)

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

Total release size: 11.3 kB

Release files / mvg_api-1.2.3.tar.gz

Download URL mvg_api-1.2.3.tar.gz
Size 5.3 kB
Tags Source
SHA-256 checksum
How to use checksums
675fbe0d460b3fcfc7f6b47dfb7197a6044faccba4909c6053c4005a0c77e600
BLAKE2b-256 checksum
How to use checksums
6832cdceb56c52bd5404805e054b74f31dd0220755ee452e556296ca595e18d8
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.3-py3-none-any.whl

Download URL mvg_api-1.2.3-py3-none-any.whl
Size 6.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c5d44010385a1d094e24a9a4ad15751811d6d10bbd876037c8480a8c5f3ddffd
BLAKE2b-256 checksum
How to use checksums
d6eb1a8c782d85fc8e05cd1973a50c8d9d78a966207e2d48d0855ee222ed606e
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

Security for mvg-api 1.2.3

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