Re:Show HN: Follow every MLB game. Real time. New score alerts
by spike021 on Sunday June 18, 2023 @03:53AM
(#36378185)
I did the same thing for an IRC bot a long time ago. Last I heard I think they have a more modern API now but I haven't personally checked it out.
[ Parent
| on HN ]
Re:Show HN: Follow every MLB game. Real time. New score alerts
by lesuorac on Sunday June 18, 2023 @11:09AM
(#36380965)
I know for the NHL the website API's were pretty detailed.
Like you could get second-by-second data on who was on the ice despite the fact that they change those players without a stoppage in time.
Re:Show HN: Follow every MLB game. Real time. New score alerts
by spike021 on Sunday June 18, 2023 @10:30PM
(#36386683)
The baseball one was too. Even down to balls and strikes counts within seconds of them happening.
The downside back then was that usually the API consisted of just rendered JSON blobs at certain endpoints and they weren't documented at all.
But hey, better than undocumented XML or needing to actually scrape the webpages, Heh.