soccer-cli icon indicating copy to clipboard operation
soccer-cli copied to clipboard

Watch feature

Open cstyan opened this issue 10 years ago • 4 comments

Having a built in watch feature so you can run once with --live and just leave the program running would be nice. Running through bash watch removes all your nice formatting and colour.

cstyan avatar Feb 17 '16 23:02 cstyan

Really nice idea. I admit I haven't ever tried the --live option. Or at least when I have there has been no live matches happening at that time.

Presumably it could be done by a blocking function that polls the API every so often and prints out any changes?

Saturn avatar Feb 20 '16 22:02 Saturn

As far as I can tell live just prints out the current scores for all games being played that day. It will also print games that haven't started yet and what their start time is. Having a periodic call and clearing/printing the new data would work.

cstyan avatar Feb 21 '16 05:02 cstyan

Has this feature been completed or is someone working on it? Was thinking I could take a stab if not. Thanks :) Andy

andyg7 avatar Apr 12 '17 12:04 andyg7

I know we had PR #88, but it never got merged. You might want to take a look there and see if @tusharmakkar08 wants to update it or abandon it.

carlosvargas avatar Apr 23 '17 05:04 carlosvargas