Skip to main content

Querying the upcoming public transport departures in Berlin

Project description

Downloads Latest Version Development branch



Requires Python 3!

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. Default: 9


$ "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.

Files for bvg-grabber, version 0.2.1
Filename, size File type Python version Upload date Hashes
Filename, size bvg_grabber-0.2.1-py2.py3-none-any.whl (11.4 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size bvg-grabber-0.2.1.tar.gz (9.1 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page