The Goals resources provide access to individual statistical data related to goal-scoring actions in a football match.
The Goals/Assists subresource allows you to access individual statistical data on goal assists made by a player in a football match. If lineupID is passed, it returns statistical data for a player in the match lineup that lineupID corresponds to.
If query parameters are passed to the resource, it returns the players in the match lineup who match the specified filters.
Response Parameters:
Field | Type | Description |
---|---|---|
lineup | integer | The unique ID of the player in match lineup. |
corners | integer | Number of goal assists from corner kick. |
freekicks | integer | Number of goal assists from free kick. |
throwins | integer | Number of goal assists from throw-ins. |
goalkicks | integer | Number of goal assists from goal kicks. |
setpieces | integer | Total number of goal assists from set-pieces. |
totals | integer | Total number of goal assists. |
The Goals/Bodyparts subresource allows you to access individual statistical data on goals scored by a specific body part in a football match. If lineupID is passed, it returns statistical data for a player in the match lineup that lineupID corresponds to.
If query parameters are passed to the resource, it returns the players in the match lineup who match the specified filters.
Response Parameters:
Field | Type | Description |
---|---|---|
lineup | integer | The unique ID of the player in match lineup. |
headed | integer | Total number of goals scored with head. |
leftfoot | integer | Total number of goals scored with left foot. |
rightfoot | integer | Total number of goals scored with right foot. |
The Goals/Locations subresource allows you to access individual statistical data on goals scored from regions of the pitch in a football match. If lineupID is passed, it returns statistical data for a player in the match lineup that lineupID corresponds to.
If query parameters are passed to the resource, it returns the players in the match lineup who match the specified filters.
Response Parameters:
Field | Type | Description |
---|---|---|
lineup | integer | The unique ID of the player in match lineup. |
insidebox | integer | Total number of goals scored in penalty area. |
outsidebox | integer | Total number of goals scored outside penalty area. |
The Goals/Penalties subresource allows you to access individual statistical data on penalty involvements of a player in a football match. If lineupID is passed, it returns statistical data for a player in the match lineup that lineupID corresponds to.
If query parameters are passed to the resource, it returns the players in the match lineup who match the specified filters.
Response Parameters:
Field | Type | Description |
---|---|---|
lineup | integer | The unique ID of the player in match lineup. |
taken | integer | Total number of penalties taken by player. |
saved | integer | Total number of penalties saved by goalkeeper. |
offtarget | integer | Total number of penalties put off target. |
ontarget | integer | Total number of penalties put on target. |
The Goals/Totals subresource allows you to access individual statistical data on total goals scored by a player in a football match. If lineupID is passed, it returns statistical data for a player in the match lineup that lineupID corresponds to.
If query parameters are passed to the resource, it returns the players in the match lineup who match the specified filters.
Response Parameters:
Field | Type | Description |
---|---|---|
lineup | integer | The unique ID of the player in match lineup. |
is_firstgoal | boolean | Did player score the opening goal? |
is_winner | boolean | Did player scored the winning goal? |
freekick | integer | Total number of goals scored direct from free kick. |
openplay | integer | Total number of goals scored from open play. |
corners | integer | Total number of goals scored as result of corner. |
throwins | integer | Total number of goals scored as result of throw-in. |
penalties | integer | Total number of goals scored by penalty. |
substitute | integer | Total number of goals scored as substitute. |
other | integer | Other goals scored. |