Thanks so much for this really nice clean & tight CLI TT lookup.
I came across it when trying to understand how to move a rPi based display from Transport API to the UK National Rail / Darwin / openldws.
I have ended up coding something myself in Python just to see how it works, but no way is the output it as elegant and quick as what you have done
You app seems to fail if I ask it to look up trains arriving or departing Gatwick Airport (GTW) with "Unknown error: no implicit conversion of Symbol into Integer"
Also Three Bridges (TBD) but not Haywoods Heath (HHE) a bit further down the line.
My guess is that it is crashing when it comes across a dividing train.
Hi Ben
Thanks so much for this really nice clean & tight CLI TT lookup.
I came across it when trying to understand how to move a rPi based display from Transport API to the UK National Rail / Darwin / openldws.
I have ended up coding something myself in Python just to see how it works, but no way is the output it as elegant and quick as what you have done
You app seems to fail if I ask it to look up trains arriving or departing Gatwick Airport (GTW) with "Unknown error: no implicit conversion of Symbol into Integer"
Also Three Bridges (TBD) but not Haywoods Heath (HHE) a bit further down the line.
My guess is that it is crashing when it comes across a dividing train.
Regards from Sydney
TIm