-
Notifications
You must be signed in to change notification settings - Fork 112
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
Balls, Strikes, and Outs #55
Comments
@ajbowler The existing events module contains information about the balls strikes and outs for each at bat, and I am fairly sure that just getting the last at bat will provide you with the current (live) ball, strikes, and outs. |
@panzarino yes, it does look like the existing events module will work fine for this. Thanks! |
@ajbowler
b1, b2, b3 are the bases. The number should be a player_id if you need that information. You can get it from Something like this should work:
|
Splitting out from #54, it would be wonderful to get the balls/strikes/outs for an inning's current state.
@trevor-viljoen found a possible solution that we'll have to live test once spring training starts up.
<status status="Final" ind="F" reason="" inning="9" top_inning="N" b="0" s="0" o="3" inning_state="" note="" is_perfect_game="N" is_no_hitter="N"/>
The text was updated successfully, but these errors were encountered: