Skip to main content

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_id
https://handball.sportdevs.com/teams-statistics?team_id=eq.{team_id}

Get team statistics from a specific team_id and league_id
https://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_id
https://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 type
https://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

Responses

OK


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

Loading...