Pitch Location Data

If you have an idea for improving the product, please post it here and we will try and prioritize updates based on the most popular requests.
Jasperbhouse
Posts: 46
Joined: Mon Aug 30, 2010 4:49 am

Re: Pitch Location Data

Post by Jasperbhouse » Wed May 23, 2012 12:48 am

Hi i really like the gamedetails API, i have one question however. Would it be possible to add an indication of earned vs unearned runs when a runner scores?

Thanks!
User avatar
FTMSupport
Site Admin
Posts: 13193
Joined: Sat Mar 28, 2009 7:25 pm

Re: Pitch Location Data

Post by FTMSupport » Wed May 23, 2012 8:02 am

The code that generates the game details XML does not have the logic for generating earned vs unearned runs. That is only in the application itself. You can get the earned vs unearned stats for the pitchers through the API, but we do not have the logic there to calculate it in the game detail XML.
Check out the new iScore Baseball documentation page!
Includes videos and user manual.
http://iscoresports.com/baseball/training.php#docs
User avatar
CSThunderCoach
Posts: 263
Joined: Thu Mar 04, 2010 8:55 am
Location: Colorado Springs, CO

Re: Pitch Location Data

Post by CSThunderCoach » Wed May 23, 2012 1:56 pm

This is the list of Event Types that I have documented so far.

1B Single
2B Double
3B Triple
ADV Advanced by Batter
AE Assigned Error
B Ball
BB Walk
Bi Intentional Ball
BT Bunt Single
BTO Bunt Out
CI Catcher Interfance
COURTESY Courtesy Runner
CS Caught Stealing
DI Defensive Indifference
DP Double Play
DRTO Dropped 3rd Strike, Thrown Out
DRTS Dropped Third Strike
E Reach on Error
F Foul Ball
FC Fielder's Choice
FO Fly out
FOR Runner Forced Out
G Ground out
GRD Ground Rule Double
HBBR Hit By Ball Running
HBP HBP
HLD Held Up
HR Homerun
IF Infield Fly
INN Inning Ended Early
IPHR In Park HR
IW IW
Kc Strikeout Looking
Ks Strikeout Swinging
LBER Left Base Early
LD Line Drive Out
LOC Hit Location
NOTES NOTES
OTT On the Throw
OUTOFBOX OUTOFBOX
PB Passed Ball
PK Pickoff
PKA Pickoff Attempt
RI Runner Interference
RIR Runner Interference
ROFFINT Runner Interference
S Strike (looking)
SACBT Sacrifice Bunt
SACBTS SAC Bunt - Safe
SB Stolen Base
SE Advance on Error
SF Sacrifice Fly
SKIP Skipped Batter
Ss Strike (swinging)
TIEBREAKER TIEBREAKER
TOR Runner Tagged Out
TP Tripple Play
WP Wild Pitch
Jasperbhouse
Posts: 46
Joined: Mon Aug 30, 2010 4:49 am

Re: Pitch Location Data

Post by Jasperbhouse » Thu May 24, 2012 12:31 am

Thanks!
Post Reply