Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

get live-data from mvg-live.de

Project Description

Python-Library to get live-data from mvg-live.de - yet another workaround the official, non-released API….

## MVGLive.getlivedata() Retrieve the next departures from mvg-live.de

Configuration variables:

  • station (Required): Name of the stop or station. Visit [the MVG live web site](http://www.mvg-live.de) to find valid names.
  • timeoffset (Optional): Do not display connections departing sooner than this number of minutes (defaults to 0). Useful if you are a couple of minutes away from the stop.
  • entries (Optional): Number of entries to retrieve (defaults to 10).
  • ubahn (Optional): If ‘False’, do not display U-Bahn (subway) departures
  • tram (Optional): If ‘False’, do not display tram departures
  • bus (Optional): If ‘False’, do not display bus departures
  • sbahn (Optional): If ‘False’, do not display S-Bahn (suburban train) departures

## MVGLive.getdisruptiondata() Retrieve current disruptions/status messages from mvg-live.de. Returns headline and description of disruption.

Please note, that this call will execute another API-request and might cause problems with rate-limits imposed by the webservice.

For a saver way, please use [RSS-feed](http://www.mvg-mobil.de/Tickerrss/CreateRssClass) that is also provided by the MVG. You can find a sample implementation [here](https://github.com/muccc/anzeigr/blob/master/current_nodes/mvgdefas/ticker/getmvgticker.py)

Release History

Release History

This version
History Node

1.1.4

History Node

1.1.3

History Node

1.1.2

History Node

1.1.1

History Node

1.0.0

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
PyMVGLive-1.1.4.tar.gz (3.9 kB) Copy SHA256 Checksum SHA256 Source May 18, 2017

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting