pybaseball
pybaseball copied to clipboard
top_prospects examples doesn't work
Trying below, I get "No tables found"
from pybaseball import top_prospects
# Get top pitching prospects for the Toronto Blue Jays
topProspects = top_prospects("bluejays", "pitchers")
Looks like mlb changed the url found here to use TeamId rather than team name. We probably need to update it.
Team format: https://www.mlb.com/prospects/stats?teamId=111
Being addressed in #307
Closing with the merge of #307