jldbc / pybaseball

Pull current and historical baseball statistics using Python (Statcast, Baseball Reference, FanGraphs)
MIT License
1.28k stars 335 forks source link

team_game_logs not pulling #418

Open nicholastaylor1214 opened 6 months ago

nicholastaylor1214 commented 6 months ago

team_game_logs for 2024 not loading in python image

jarrett32 commented 6 months ago
from pybaseball import team_game_logs

batting_logs = team_game_logs(2024, "BAL")
print(batting_logs)

Currently working for me for: Python 3.10.12.

pip freeze

attrs==23.2.0
beautifulsoup4==4.12.3
certifi==2024.2.2
cffi==1.16.0
charset-normalizer==3.3.2
contourpy==1.2.1
cryptography==42.0.6
cycler==0.12.1
Deprecated==1.2.14
fonttools==4.51.0
idna==3.7
kiwisolver==1.4.5
lxml==5.2.1
matplotlib==3.8.4
numpy==1.26.4
packaging==24.0
pandas==2.2.2
pillow==10.3.0
pyarrow==16.0.0
pycparser==2.22
PyGithub==2.3.0
PyJWT==2.8.0
PyNaCl==1.5.0
pyparsing==3.1.2
python-dateutil==2.9.0.post0
pytz==2024.1
requests==2.31.0
scipy==1.13.0
six==1.16.0
soupsieve==2.5
tqdm==4.66.4
typing_extensions==4.11.0
tzdata==2024.1
urllib3==2.2.1
wrapt==1.16.0

maybe the page was broken temporarily, want to try again?

nicholastaylor1214 commented 5 months ago
from pybaseball import team_game_logs

batting_logs = team_game_logs(2024, "BAL")
print(batting_logs)

Currently working for me for: Python 3.10.12.

pip freeze

attrs==23.2.0
beautifulsoup4==4.12.3
certifi==2024.2.2
cffi==1.16.0
charset-normalizer==3.3.2
contourpy==1.2.1
cryptography==42.0.6
cycler==0.12.1
Deprecated==1.2.14
fonttools==4.51.0
idna==3.7
kiwisolver==1.4.5
lxml==5.2.1
matplotlib==3.8.4
numpy==1.26.4
packaging==24.0
pandas==2.2.2
pillow==10.3.0
pyarrow==16.0.0
pycparser==2.22
PyGithub==2.3.0
PyJWT==2.8.0
PyNaCl==1.5.0
pyparsing==3.1.2
python-dateutil==2.9.0.post0
pytz==2024.1
requests==2.31.0
scipy==1.13.0
six==1.16.0
soupsieve==2.5
tqdm==4.66.4
typing_extensions==4.11.0
tzdata==2024.1
urllib3==2.2.1
wrapt==1.16.0

maybe the page was broken temporarily, want to try again?

looks to be the case, working for me as well, thanks!