Giter Club home page Giter Club logo

Comments (5)

panzarino avatar panzarino commented on June 19, 2024 1

Yes, they are in order of which they appeared in the game so the starter is first.

from mlbgame.

panzarino avatar panzarino commented on June 19, 2024

I'm not sure right now, but I will look into it and get back to you soon.

Edit: I have found the data that contains the probable pitcher, but I have not implemented it into mlbgame yet. I will add it sometime soon along with other features.

from mlbgame.

panzarino avatar panzarino commented on June 19, 2024

After looking into it a little more, the file changes too much during the game and after the game so it can't be used in mlbgame. If you want to get this data on your own, it is available in linescore.xml for a game that has not been played yet.

Here is an example (just change the date and game id to match):
http://gd2.mlb.com/components/game/mlb/year_2016/month_06/day_30/gid_2016_06_30_lanmlb_milmlb_1/linescore.xml

Alternatively, if you find a good solution for getting this data and submit it in a PR, I would be happy to merge it.

from mlbgame.

FlowFX avatar FlowFX commented on June 19, 2024

Thanks for the info! linescore.xml looks good. Probable starting pitcher is really only useful before the game starts. No need to put it into the mlbgame data. I'll have a PR for you, eventually. But it will take a while before I get to that part of my project.

For past games the starting pitcher is always the first pitcher in the pitching stats for that game, correct?

from mlbgame.

FlowFX avatar FlowFX commented on June 19, 2024

I just saw that the probable starting pitchers are now available. Thank you!! :D

from mlbgame.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.