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://hockey.sportdevs.com/matches-players-statistics?match_id=eq.{match_id}
Get the best player from a specific match_idhttps://hockey.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://hockey.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://hockey.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.4
The id of the match
- team_id integer
Default value:
eq.35303
The id of the team
- player_id integer
Default value:
eq.27621
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
- assists integer
The number of assists made by the player
- goals integer
The number of the goals by the player
- shots integer
The number of shots made by the player
- hits integer
The number of hits made by the player
- takeaways integer
The number of takeaways made by the player
- giveaways integer
The number of giveaways made by the player
- blocked integer
The number of blocked made by the player
- plus_minus integer
The number of plus minus made by the player
- seconds_played integer
The number of seconds played by the player
- penalty_minutes integer
The number of penalty minutes by the player
- power_play_goals integer
The number of power play goals made by the player
- power_play_assists integer
The number of power play assists made by the player
- face_off_wins integer
The number of face off wins made by the player
- face_off_taken integer
The number of face off taken by the player
- short_handed_goals integer
The number of short handed goals made by the player
- short_handed_assists integer
The number of short handed assists made by the player
[
{
"match_id": 4,
"team_id": 35303,
"player_id": 27621,
"position": "L",
"assists": 0,
"goals": 0,
"shots": 2,
"hits": 1,
"takeaways": 1,
"giveaways": 0,
"blocked": 0,
"plus_minus": 0,
"seconds_played": 714,
"penalty_minutes": 0,
"power_play_goals": 0,
"power_play_assists": 0,
"face_off_wins": 10,
"face_off_taken": 14,
"short_handed_goals": 0,
"short_handed_assists": 0
}
]