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
Release files for mvg-api 1.2.7
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.7.tar.gz | 5.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| mvg_api-1.2.7-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 12.1 kB
Release files / mvg_api-1.2.7.tar.gz
| Download URL | mvg_api-1.2.7.tar.gz |
|---|---|
| Size | 5.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ee95fbbb10021e8685b84272c4db3ef009b7241d651be85788645d6dab216074
|
|
BLAKE2b-256 checksum How to use checksums |
dbd3c665ef25684033bf62a85a41d2d7a0a961e0f7b2c8a4fdba6ba5c34f30b6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.9.1
|
Release files / mvg_api-1.2.7-py3-none-any.whl
| Download URL | mvg_api-1.2.7-py3-none-any.whl |
|---|---|
| Size | 6.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a1abcea5eef5a59e533970ccbb718bd8ea2815794d90c5b04955e237d6873cf9
|
|
BLAKE2b-256 checksum How to use checksums |
2af68884ae9016db60e33309bb93b8c5e408b71cb7914d6506591fceb4c6cd51
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.9.1
|