keero / baseball-streaming

Java CLI application for fetching data from WBSC game data (MyBallClub) and render text and image files on disk.
MIT License
2 stars 1 forks source link

New stats on WBSC sites #4

Open molano999 opened 5 months ago

molano999 commented 5 months ago

Hello,

Just a heads-up that apparently a lot is changing on the WBSC backend concerning stats for players, which will probably break your scripts... Stats for individual players now carry the message: BETA VERSION - TESTING IN PROGRESS

Teamstats still look the same AFAIK.

Maybe worth testing (if this project is still alive)?

keero commented 4 months ago

Hello! Thanks for the info! I will take a look. The stats is currently scraped from the website but I took a brief look and it seems WBSC is finally starting to feed these through a public API (https://www.wbsc.org/api/v1/player/stats{?tab,fedId,eventId,roundId,pId}). I will look into this during the spring, hopefully I will be able to remove the ugly scraping and use the API instead.