Teams Statistics
This endpoint allows you to retrieve the statistics from teams.
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 day.
Recommended Calls: Limit calls to 1 per day.
Use Cases
Get team statistics from a specific team_idhttps://handball.sportdevs.com/teams-statistics?team_id=eq.{team_id}
Get team statistics from a specific team_id and league_idhttps://handball.sportdevs.com/teams-statistics?team_id=eq.{team_id}&league_id=eq.{league_id}
Get team statistics from a specific team_id, league_id and season_idhttps://handball.sportdevs.com/teams-statistics?&team_id=eq.{team_id}&league_id=eq.{league_id}&season_id=eq.{season_id}
Get team statistics from a specific team_id, league_id, season_id and typehttps://handball.sportdevs.com/teams-statistics?team_id=eq.{team_id}&league_id=eq.{league_id}&season_id=eq.{season_id}&type=eq.{type}
Query Parameters
- team_id integer
Default value:
eq.1422
The id of the team
- league_id integer
Default value:
eq.2090
The id of the league
- season_id integer
Default value:
eq.15793
The id of the season
- type text
Default value:
eq.overall
The type of the statistic
- 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
- id integer
The id of the team's statistic
Note: This is a Primary Key.
- team_id integer
The id of the team
Note: This is a Foreign Key to
teams.id
. - team_name text
The name of the team
- team_hash_image character varying
Possible values:
<= 64 characters
The name image of the team
- league_id integer
The id of the league
Note: This is a Foreign Key to
leagues.id
. - league_name text
The name of the league
- league_hash_image character varying
Possible values:
<= 64 characters
The name image of the league
- season_id integer
The id of the season
Note: This is a Foreign Key to
seasons.id
. - season_name text
The name of the season
- type text
The type of the statistic
- goals_scored numeric
The number of goals scored
- goals_conceded numeric
The number of goals conceded
- shots_taken numeric
The number of shots taken by the team
- shooting_percentage numeric
The number of shooting made by the team in
%
- fastbreak_goals numeric
The number of fast break goals made by the team
- seven_meters_scored numeric
The number of seven meters scored by the team
- seven_meters_total numeric
The number of seven meters total made by the team
- total_steals numeric
The number of steals by the team
- total_two_minute_penalties numeric
The number of two minute penalties made by the player
- goals_in_powerplay numeric
The number of goals in power play made by the team
- shorthanded_goals numeric
The number of shorthanded goals made by the team
- total_matches_played numeric
The number of matches by the team
- total_awarded_matches numeric
The number of awarded matches by the team
[
{
"id": 1426,
"team_id": 1422,
"team_name": "HC Vardar",
"league_id": 2090,
"league_name": "Champions League",
"league_hash_image": "1cb2b17bb84832138996f692bf5c1baa916f980a5f4721c44e68deebe0d8ade7",
"season_id": 15793,
"season_name": "Champions League 21/22",
"type": "overall",
"goals_scored": 422,
"goals_conceded": 429,
"shots_taken": 679,
"shooting_percentage": 62.150220913108,
"fastbreak_goals": 64,
"seven_meters_scored": 33,
"seven_meters_total": 55,
"total_steals": 15,
"total_two_minute_penalties": 60,
"goals_in_powerplay": 48,
"shorthanded_goals": 38,
"total_matches_played": 15,
"total_awarded_matches": 0
}
]