Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

top_prospects examples doesn't work #284

Closed
ForceConstant opened this issue Aug 8, 2022 · 3 comments
Closed

top_prospects examples doesn't work #284

ForceConstant opened this issue Aug 8, 2022 · 3 comments

Comments

@ForceConstant
Copy link

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")
@tjburch
Copy link
Collaborator

tjburch commented Aug 8, 2022

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

@tjburch
Copy link
Collaborator

tjburch commented Feb 18, 2023

Being addressed in #307

@tjburch
Copy link
Collaborator

tjburch commented Feb 26, 2023

Closing with the merge of #307

@tjburch tjburch closed this as completed Feb 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants