Matches Players Statistics
This endpoint allows you to retrieve the players statistics from matches.
Multi-language: This feature allows the user to manually change the language of the API response by adding value to the
lang
attribute. Example:lang=en
.
Pagination: The endpoint uses an offset and limit system. Specify the offset and limit parameters to fetch the desired range of results. The maximum and default number of results per request is 50.
Update Period: The endpoint is updated every minute. Recommended Calls: Limit calls to 1 every minute.
Use Cases
Get player statistics from a specific match_idhttps://handball.sportdevs.com/matches-players-statistics?match_id=eq.{match_id}
Get the best player from a specific match_idhttps://handball.sportdevs.com/matches-players-statistics?match_id=eq.{match_id}&order=rating.desc&limit=1
Get player statistics from a specific match_id and team_idhttps://handball.sportdevs.com/matches-players-statistics?match_id=eq.{match_id}&team_id=eq.{team_id}
Get player statistics from a specific match_id, team_id and player_idhttps://handball.sportdevs.com/matches-players-statistics?match_id=eq.{match_id}&team_id=eq.{team_id}&player_id=eq.{player_id}
Query Parameters
- match_id integer
Default value:
eq.214
The id of the match
- team_id integer
Default value:
eq.42943
The id of the team
- player_id integer
Default value:
eq.63981
The id of the player
- offset string
Default value:
0
Limiting and Pagination
- limit string
Default value:
50
Limiting and Pagination
- lang string
Default value:
en
Multi-language
- 200
OK
- application/json
- Schema
- Example (from schema)
Schema array
- match_id integer
The id of the match
- team_id integer
The id of the team
Note: This is a Foreign Key to
teams.id
. - player_id integer
The id of the player
Note: This is a Foreign Key to
players.id
. - position text
The position of the player
- two_minute_penalties integer
The number of two minute penalties
- technical_faults integer
The number of technical faults made by the player
- yellow_cards integer
The number of yellow cards made by the player
- shots_taken integer
The number of shots taken by the player
- goals integer
The number of the goals by the player
- assists integer
The number of assists made by the player
- goals7m integer
The number of goals7m made by the player
- steals integer
The number of steals
- blocked_shots integer
The number of blocked shots made by the player
[
{
"match_id": 214,
"team_id": 42943,
"player_id": 63981,
"position": "P",
"two_minute_penalties": 0,
"technical_faults": 1,
"yellow_cards": 0,
"shots_taken": 4,
"goals": 4,
"assists": 0,
"goals7m": 0,
"steals": 0,
"blocked_shots": 0
}
]