Earned Runs using gamedetails api
Earned Runs using gamedetails api
Is there any way to determine earned and unearned runs using the gamedetails api without recreating the inning? Is there a field that stores this?
Re: Earned Runs using gamedetails api
FTM can better answer your question, but take a look at this link as an FYI...looks like it...
http://data.iscorecentral.com/legend.ph ... internal=1" onclick="window.open(this.href);return false;
http://data.iscorecentral.com/legend.ph ... internal=1" onclick="window.open(this.href);return false;
Mark
iScore Baseball 4.533 on iOS8-iPad4 and iPhone 6-Plus
iScore Baseball User Manual:
http://iscoreleagues.com/manual/ <- Check it Out!
iScore Baseball 4.533 on iOS8-iPad4 and iPhone 6-Plus
iScore Baseball User Manual:
http://iscoreleagues.com/manual/ <- Check it Out!
- FTMSupport
- Site Admin
- Posts: 13193
- Joined: Sat Mar 28, 2009 7:25 pm
Re: Earned Runs using gamedetails api
No, there is not a field that stores this in the gamedetails call. You can use the game stats to get the earned vs unearned runs for a game, but you are not going to get earned vs unearned for each run scored other than on the scorecard where we shade earned vs unearned differently.
Check out the new iScore Baseball documentation page!
Includes videos and user manual.
http://iscoresports.com/baseball/training.php#docs
Includes videos and user manual.
http://iscoresports.com/baseball/training.php#docs
Re: Earned Runs using gamedetails api
I knew I shouldnt have tried to answer a question on a subject I have no idea what I am talking about... 

Mark
iScore Baseball 4.533 on iOS8-iPad4 and iPhone 6-Plus
iScore Baseball User Manual:
http://iscoreleagues.com/manual/ <- Check it Out!
iScore Baseball 4.533 on iOS8-iPad4 and iPhone 6-Plus
iScore Baseball User Manual:
http://iscoreleagues.com/manual/ <- Check it Out!
Re: Earned Runs using gamedetails api
How do you know when to shade the scorecard differently?
- FTMSupport
- Site Admin
- Posts: 13193
- Joined: Sat Mar 28, 2009 7:25 pm
Re: Earned Runs using gamedetails api
Our code that draws the scorecard evaluates the pitch by pitch data to determined earned or unearned run.
Check out the new iScore Baseball documentation page!
Includes videos and user manual.
http://iscoresports.com/baseball/training.php#docs
Includes videos and user manual.
http://iscoresports.com/baseball/training.php#docs
Re: Earned Runs using gamedetails api
One other question on the gamedetails...how can i determine the number of pitches a pitcher has pitched? I see a pitchid for the game but it isnt reset when a new pitcher enters
- FTMSupport
- Site Admin
- Posts: 13193
- Joined: Sat Mar 28, 2009 7:25 pm
Re: Earned Runs using gamedetails api
For each PITCH node, it has an attribute that identifies the pitcher, and the RESULT node has a pitcherballs and pitcherstrikes attribute that identify how many balls and strikes that pitcher has thrown.
Check out the new iScore Baseball documentation page!
Includes videos and user manual.
http://iscoresports.com/baseball/training.php#docs
Includes videos and user manual.
http://iscoresports.com/baseball/training.php#docs