pybaseball
pybaseball copied to clipboard
MILB SCRAPE FROM NEW FANGRAPHS DATABASE
Currently, the Fangraphs functions can scrape MiLB data from MNL and FL, but cannot scrape ALL (or portions) of data from the new FanGraphs leaderboards found here: https://www.fangraphs.com/leaders/minor-league?sort=23,1
Found their API maybe this will help? https://www.fangraphs.com/api/leaders/minor-league/data?pos=all&level=0&lg=2,4,5,6,7,8,9,10,11,14,12,13,15,16,17,18,30,32,33&stats=bat&qual=y&type=0&team=&season=2023&seasonEnd=2023&org=&ind=0&splitTeam=false
Maybe we could use the same solution from my PR if the API could work