Python Client for getting the data from the ICE portal on ICE connections in Germany and partially in Switzerland.
This module is not official, developed, supported or endorsed by Deutsche Bahn.
The module is available from the Python Package Index.
$ pip3 install iceportal
For Nix or NixOS users is a package available. Keep in mind that the lastest releases might only
be present in the unstable
channel.
$ nix-env -iA nixos.python3Packages.iceportal
The file example.py
contains an example about how to use this module.
Currently available information:
- ID of the train
- The next stop
- The arrival track in the next station
- The arrival time for the next station
- Current speed of the train
For development use poetry
.
$ poetry run python example.py
iceportal
is licensed under MIT, for more details check LICENSE.