Library for fetching departure and route data from the Munich public transport organisation MVG
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mvg_api-1.2.7.tar.gz.
File metadata
- Download URL: mvg_api-1.2.7.tar.gz
- Upload date:
- Size: 5.7 kB
- Tags: Source
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ee95fbbb10021e8685b84272c4db3ef009b7241d651be85788645d6dab216074
|
|
| MD5 |
30db8c5cd26bc277cc807739d4070cfc
|
|
| BLAKE2b-256 |
dbd3c665ef25684033bf62a85a41d2d7a0a961e0f7b2c8a4fdba6ba5c34f30b6
|
File details
Details for the file mvg_api-1.2.7-py3-none-any.whl.
File metadata
- Download URL: mvg_api-1.2.7-py3-none-any.whl
- Upload date:
- Size: 6.4 kB
- Tags: Python 3
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a1abcea5eef5a59e533970ccbb718bd8ea2815794d90c5b04955e237d6873cf9
|
|
| MD5 |
19b77cedcf524d6ec7d91ac0fd3cb29a
|
|
| BLAKE2b-256 |
2af68884ae9016db60e33309bb93b8c5e408b71cb7914d6506591fceb4c6cd51
|