Skip to content

FrecciaPy is a simple client to display information about Frecciarossa trains in your terminal.

License

Notifications You must be signed in to change notification settings

matteozamu/FrecciaPy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FrecciaPy

I got bored while on a train journey so I decided to have some fun.

FrecciaPy is a simple client to display information about your Frecciarossa train in your terminal.

The "PortaleFrecce WiFi" (https://www.portalefrecce.it) onboard the train has an endpoint which expose: speed, delay, progress of the journey, next stops and connections.

The client does a simple HTTP GET request to the endpoint and display the information nicely in the terminal.

Just run the python code with:

python3 main.py

Screenshot

I was inspired by TerminalGV which works on TGV and TER trains in France.

About

FrecciaPy is a simple client to display information about Frecciarossa trains in your terminal.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages