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
Metadata
Release files for mvg-api 1.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| mvg_api-1.2.1.tar.gz | 4.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| mvg_api-1.2.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 10.0 kB
Release files / mvg_api-1.2.1.tar.gz
| Download URL | mvg_api-1.2.1.tar.gz |
|---|---|
| Size | 4.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9752b20d9bc69bcce65d3d6cb84cd2814622afda9cab13466c798578e5b08fb6
|
|
BLAKE2b-256 checksum How to use checksums |
42007e1f4b91ed138e74d0e0e48093b1baa24901d3730955303c3069a7ef2c67
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.4
|
Release files / mvg_api-1.2.1-py3-none-any.whl
| Download URL | mvg_api-1.2.1-py3-none-any.whl |
|---|---|
| Size | 5.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
74f5e8194312fc3287fdf21c048e7c3e97c58529c40e1046afbbb1c4a419af2a
|
|
BLAKE2b-256 checksum How to use checksums |
25e315d1ce1ec7966e44e9007aebdd4c9b4c331afb56b082aeaa3456c083279d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.4
|