Contains all the functionality to access pitchers by event.
Pitchers
Retrieves pitch counts and pitch innings of pitchers.
Endpoint
GET https://softball.exposureevents.com/api/v1/pitchers
Parameters
Name | Type | Default | Required | Description |
---|---|---|---|---|
EventId | integer | The event id. |
{
"Pitchers": [
{
"PlayerId": 1,
"ExternalId": "external-vendor-123",
"FirstName": "Anderson",
"LastName": "Ginkins",
"Games": [
{
"GameId": 100,
"Count": 12,
"Innings": 3
}
]
}
]
}
<Response xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
<Pitchers>
<Pitcher>
<ExternalId>external-vendor-123</ExternalId>
<FirstName>Anderson</FirstName>
<Games>
<PitcherGame>
<Count>12</Count>
<GameId>100</GameId>
<Innings>3</Innings>
</PitcherGame>
</Games>
<LastName>Ginkins</LastName>
<PlayerId>1</PlayerId>
</Pitcher>
</Pitchers>
</Response>