mlbgame icon indicating copy to clipboard operation
mlbgame copied to clipboard

A Python API to retrieve and read MLB GameDay data

Results 27 mlbgame issues
Sort by recently updated
recently updated
newest added

>>> mlbgame.games(2022, months=4, days=10) [] >>> mlbgame.day(2022,4,10) []

Fixed a major string formatting issue. All strings, if valid spelling, will be formatted to be searched for correctly with no issues

Fixed issue https://github.com/panzarino/mlbgame/issues/148

Just getting started with this API, and this morning am seeing the same game id error still occuring. This happens with running the base example presented in the documentation. Anyone...

Fixed issue #143 where home and away probable pitchers were being swapped.

Version: 2.5.0 Steps to reproduce: 1. Choose a game in which the bottom of the 9th inning was not played. For example, game_id `2021_04_03_tormlb_nyamlb_1`, the Yankees v Blue Jays game...

get_raw_box_score always fails for any game_id you give it. Breaks a lot of functions.

Where would I be able to find the game_id? MLB website?

For the past few days I've been able to pull the probable pitchers for the day's games up until the first game starts since the game that started will no...

`Traceback (most recent call last): File "", line 1, in mlbgame.injury() File "C:\Users\ME\AppData\Local\Programs\Python\Python38-32\lib\site-packages\mlbgame\__init__.py", line 266, in injury data = mlbgame.info.injury() File "C:\Users\ME\AppData\Local\Programs\Python\Python38-32\lib\site-packages\mlbgame\info.py", line 408, in injury parsed = json.loads(data.read().decode('utf-8')) AttributeError:...