The pitcher element provides information about the starting pitchers for both teams in a baseball event. It is an element included in the "pitchers" element
<pitchers>
The pitcher element can be found also inside the pitcher history element with an additional attribute which is "changed_at" which indicates what time the starting pitcher was changed.
An example below of the change of the starting pitcher:
Table below will show attributes and possible values of the pitcher element
| Attribute | meaning | value type | possible values |
|---|---|---|---|
| name | name of the pitcher | string | name of the pitcher |
| hand | hand used by the pitcher | string | R, L (right or left) |
| competitor | which team the pitcher belongs in | string | home, away |
| id | id of the pitcher as a player | string | example: sr:player:843249 |
| changed_at | timing when the change of the pitcher happened | datetime | date and time |