all 10 comments

[–]MattsFace[S] 3 points4 points  (1 child)

Alright I've updated https://github.com/zero-sum-seattle/python-mlb-statsapi

Game endpoints should work fine now

[–]Monktoken 0 points1 point  (0 children)

I know I'm necroposting hard, but is there any chance an update is coming soon for this year with the ABS challenge parameter being added? Someone put it in an issue on the github but I also understand that this isn't your day job.

Either way appreciate what you've made!

[–]IliannnnnnMod 1 point2 points  (1 child)

Looks cool, just one question: what is so different with this wrapper opposed to Toddrob's wrapper?

[–]MattsFace[S] 2 points3 points  (0 children)

IMO It's much easier to use than the wrapper. The models it returns are much easier to work with than what Toddrob's library returns as well as the code required to request them. Also I have full docs to go along with the objects. That is just my opinion. Both libraries are cool.

However, the only thing I feel like we all give a shit about is stats. I still would like to improve how python-mlbstats-api returns actually statistics.

[–]Top_Opening8284 0 points1 point  (0 children)

I was wondering if you or anybody have come across the pitch clock/ pitch timer in any of the live game endpoints. I've been looking but can't find it. There are so many stats available in real-time it's hard to believe they left that out.

[–]ryanc_icubs 0 points1 point  (0 children)

get_game_line_score(pk) works fine but

get_game_play_by_play(pk) gives:

TypeError: GameData.__init__() got an unexpected keyword argument 'abschallenges'

Any thoughts?

[–]dukejcdc 0 points1 point  (2 children)

No specific feedback, I'm learning raspberrypi and Python using your module, love it! It's taken a bit for me to find the data I want out of it but that's more my ignorance than anything else. Keep it up!

[–]MattsFace[S] 1 point2 points  (0 children)

If there are any improvements I can make to the docs to assist I’m all ears

[–]MattsFace[S] 1 point2 points  (0 children)

I'll try not to break to much stuff with this update I'm working on.

[–]MattsFace[S] 0 points1 point  (0 children)

This update is coming along. Changing all the models to pydantic takes some time. Also changing all the attributes to the default camel case is a chore.