Live data from Hacker News

Show HN: Faceoff – A terminal UI for following NHL games

vincentgregoire.com

21–30 of 56 posts

Re: Show HN: Faceoff – A terminal UI for following NHL games

#21

Nice! I was thinking about doing something like this but for cycling, however one of the biggest PIA about building products for sports is all the gating of data. Does the NHL really provide an API for all games? That's nice...

I had the same thought, went ahead when I found an existing Python module to access the API.

Re: Show HN: Faceoff – A terminal UI for following NHL games

#22
post #17
post #4

Earlier quoted context omitted.

Yeah, I completely agree. It's awesome to be able to build anything you want (as long as it's not too complex). I, too, have at least a dozen, and I usually don't share, but with the playoffs starting, I felt others could enjoy this one.

Same — similar pile accumulating, and GitHub has fallen way behind. I keep going back and forth on whether a monorepo is the right answer or if it'd just make the sprawl more legible without actually helping. How are you organizing yours?

[dead]

Re: Show HN: Faceoff – A terminal UI for following NHL games

#24
post #13

Nice! In practice, how far behind the TV broadcast does it end up being?

Not too much, but it’s using a Rest API, so it also depends on the refresh rate (default 30 seconds, configurable with cli argument).

That’s not bad. One of my favorite times is college football season with a big game on say, ABC. You quickly learn who it watching OTA, who is watching on cable and who has YoutubeTV based on the different reaction times after a big play.

Re: Show HN: Faceoff – A terminal UI for following NHL games

#25
nIce! Does it have player in-game stats like TOI and +/-?

This reminds me of that f1 tui… https://github.com/JustAman62/undercut-f1 or https://github.com/IAmTomShaw/f1-race-replay. The one I’m thinking of syncs with kodi for delayed playback “live” stats.

Re: Show HN: Faceoff – A terminal UI for following NHL games

#27

Nice! I was thinking about doing something like this but for cycling, however one of the biggest PIA about building products for sports is all the gating of data. Does the NHL really provide an API for all games? That's nice...

Officially no, but there is undocumented API (if you are commercial, they provide documentation and support) that is public without authentication.

Re: Show HN: Faceoff – A terminal UI for following NHL games

#28

nIce! Does it have player in-game stats like TOI and +/-? This reminds me of that f1 tui… https://github.com/JustAman62/undercut-f1 or https://github.com/IAmTomShaw/f1-race-replay . The one I’m thinking of syncs with kodi for delayed playback “live” stats.

Not player stats, only team stats. I'll have to see if player-level stats are available in the API.

Re: Show HN: Faceoff – A terminal UI for following NHL games

#29

> Acknowledgments - This project was inspired by Playball, a similar terminal application for following MLB baseball games. Should've gone for something generalized that could handle a bunch of different games, instead of just another sport, so someone caring about multiple sports don't need multiple TUIs :)

Having long ago built an app that does gamecasts for multiple sports, similar to what you get from ESPN, every sport is completely different. There's almost nothing that matches up, except for the very basic concept of a box score. Even play by play has enough differences to be vastly different
Post reply on HN