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://rugby.sportdevs.com/matches-players-statistics?match_id=eq.{match_id}
Get the best player from a specific match_idhttps://rugby.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://rugby.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://rugby.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.141
The id of the match
- team_id integer
Default value:
eq.46990
The id of the team
- player_id integer
Default value:
eq.82913
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
. - points integer
The number of points made by the player
- carries integer
The number of carries
- clean_breaks integer
The number of clean breaks
- meters_run integer
The number of meters run
- offloads integer
The number of offloads
- passes integer
The number of passes
- tackles_missed integer
The number of tackles missed
- tackles integer
The number of tackles
- try_assists integer
The number of try assists
- turnovers_won integer
The number of turnovers won
- penalty_goals integer
The number of penalty goals
- tries integer
The number of tries
- drop_goals integer
The number of drop goals
- position text
The position of the player
[
{
"match_id": 141,
"team_id": 46990,
"player_id": 82913,
"carries": 0,
"clean_breaks": 0,
"meters_run": 0,
"offloads": 0,
"passes": 63,
"tackles_missed": 2,
"tackles": 9,
"try_assists": 0,
"turnovers_won": 0
}
]