-
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
Runners on Base #54
Comments
This will probably require some trial and error after the season starts to see how MLB's writeouts to the XMLs work during a live game but the inning XMLs might be of some use. Assuming their innings and at-bats are always sorted we could just traverse the tree to get the latest at-bat. It has a |
If I remember correctly, there is a file that gets updated with that information during the game. It may be one of the scoreboard.xml files, but I can't remember. Once spring training starts up I'll make note of it. There is a status tag with ball, strikes, outs, and "inning_state":
|
@trevor-viljoen I'll open a separate issue for balls/strikes/outs, I'd like to keep this one open for runners on base. |
It looks like The existing events module should suffice for this. |
You can also use linescore.xml's |
I'm currently working on an MLB scoreboard on an LED board in preparation for the upcoming season and am planning on using this very interesting API.
The above image is similar to what I'm going for here.
It'd be wonderful to get some data for occupied bases, balls/strikes count, and current number of outs. I can file separate issues for the balls/strikes and outs if needed.
Would you accept a pull request for this feature? If so, any ideas where to start? I'm not very familiar with the XML files this API is pulling from.
The text was updated successfully, but these errors were encountered: