Skip to content

home-assistant-ecosystem/python-iceportal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

64 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ICE Portal

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.

Installation

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

Usage

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

Development

For development use poetry.

$ poetry run python example.py

License

iceportal is licensed under MIT, for more details check LICENSE.

About

Python client for getting data from the ICE Portal.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages