Skip to main content

Querying the upcoming public transport departures in Berlin

Project description

Downloads Latest Version Development branch



To use bvg-grabber go and install it as you do with every Python package:

$ pip install bvg-grabber


$ pip install --user bvg-grabber


bvg-grabber comes with a simple command line tool

$ --help
usage: [-h]
                    [--vehicle [{S,U,TRAM,BUS,FERRY,RB,IC} [{S,U,TRAM,BUS,FERRY,RB,IC} ...]]]
                    [--limit LIMIT]
                    station file

Query the BVG-website for departures

positional arguments:
station               The station to query
file                  Path to file. Use - for stdout

optional arguments:
-h, --help            show this help message and exit
                        Vehicles which shall be queried, if non given
                        actualdepartue (bus) will be used
--limit LIMIT         Max departures to query


$ "U Ernst-Reuter-Platz (Berlin)" - --vehicle U --limit 2 | json_pp
      "U Ernst-Reuter-Platz (Berlin)",
            "line" : "U2",
            "end" : "U Ruhleben (Berlin)",
            "remaining" : 12180,
            "start" : "U Ernst-Reuter-Platz (Berlin)"
            "line" : "U2",
            "start" : "U Ernst-Reuter-Platz (Berlin)",
            "remaining" : 12600,
            "end" : "S+U Pankow (Berlin)"

Project details

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
bvg_grabber-0.1.1-py2.py3-none-any.whl (11.7 kB) Copy SHA256 hash SHA256 Wheel 3.4
bvg-grabber-0.1.1.tar.gz (8.8 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page