mlbgame
mlbgame copied to clipboard
A Python API to retrieve and read MLB GameDay data
The home and away probables seem to be flipped. According to ESPN the probably starters for 6/29/21 Rays at Nationals is Rich Hill (TB Rays) and Joe Ross (WSH Nationals)....
Getting an error with responses from the `overview` function: ``` from mlbgame import games, box_score, overview this = games(2019, 5, 1, home='Phillies') game_id = this[0][0].game_id ovr = overview(game_id) ``` produces:...
I was wondering if I could get this data. I haven't found it, but I am still wondering if it is possible.
It looks like the API has introduced breaking changes since the last time mlbgame was updated on PyPi/the latest release (2.5.0 on 4/16/18). `mlbgame.events('2019_08_14_balmlb_nyamlb_1')` will work without a problem when...
Hello! Right now, if I run `$> mlbgame.standings(today)` I get back an error along the lines of: ``` Traceback (most recent call last): File "", line 1, in File "/usr/local/lib/python2.7/dist-packages/mlbgame/__init__.py",...
Hi, I'm trying to change the time zone of the game times to Pacific. In the game.py script at around line 208, it mentions how the time zone is not...
If I cycle through 'mlbgame.day()' with today's date I receive a list of all the games, including the 'game_id'. If I use that 'game_id' and try and use 'mlbgame.overview(game_id)', I...
Add data such as the current batter and pitcher. Could possibly be added to the Overview class.
Hi, I am trying to do something similar to what is on the documentation with printing games, but I have used datetime to get the current month and year and...
Converting `HTTPError` to `ValueError` loses valuable information about the failure. If the `HTTPError` itself was allowed to be raised then callers could look at the status code and determine if...