Use Eurotunnels API to pull boarding data!
change this in grabToken.py on line 30
Uk Terminal: https://www.eurotunnel.com/api/v1/departures/GetCombinedBoardResults?terminal=uk
Fr Terminal: https://www.eurotunnel.com/api/v1/departures/GetCombinedBoardResults?terminal=Fr
no suprise here just do pip install -r Requirements.txt
got to install selenium and stuff
Shows trains
if you want to have all trains and not just 6 then replace on line 7
const limitedTrains = trains.slice(0,7)
to
const limitedTrains = trains
to show all trains (might be broken)
grabToken.py will go to eurotunnel.com and get a fresh token for you for use with ^^
if your having issues go to line 47 and replace add a 3
or 2
to the end of python
as shown
in the below example for python 3
Python Code at line 47:
subprocess.run(["python3", "refreshToken.py"])
Letter | LinesEn | LinesFr | FormattedDepartureTimes |
---|---|---|---|
A1 | Please proceed | Appel en cours | FormattedFolkestoneTerminalTime: 0:00 |
A3 | Please proceed | Appel en cours | FormattedFolkestoneTerminalTime: 0:05 |
A5 | Please proceed | Appel en cours | FormattedFolkestoneTerminalTime: 0:10 |
B1 | Wait for call, First call in 1h 43m | Attendez l'appel, Premier appel 1h 43m | FormattedFolkestoneTerminalTime: 0:10 |
B2 | Wait for call, First call in 1h 43m | Attendez l'appel, Premier appel 1h 43m | FormattedFolkestoneTerminalTime: 0:15 |
B5 | Wait for call, First call in 1h 43m | Attendez l'appel, Premier appel 1h 43m | FormattedFolkestoneTerminalTime: 0:15 |
Hope you Enjoy (non-commerical use only)