Rugby.Teams

Get team statistics

Refresh interval: Immediately once a match is finished.

Retrieve team stats for each league and season by specifying the team's id path parameter. Requires fromDate query parameter to be specified in the YYYY-MM-DD format. Additionally, the timezone query parameter can be specified to futher narrow down the search results based on your location.

get/rugby/teams/statistics/{id}

Request

Path parameters

idnumber required

Requested team id.

Query parameters

fromDatestring required
Example:2023-08-06

Date that follows the YYYY-MM-DD format.

timezonestring
Example:Europe/London

Valid timezone identifier.

Headers

x-rapidapi-hoststring required

sport-highlights-api.p.rapidapi.com

x-rapidapi-keystring required

Rapid API Token

Response

leagueIdnumber required

League id corresponding to summarized statistics.

leagueNamestring required

League name corresponding to summarized statistics.

seasonnumber required

Season year associated to team statistics.

Example response

[
  {
    "total": {
      "games": {
        "played": 16,
        "wins": 11,
        "loses": 5
      },
      "points": {
        "scored": 463,
        "received": 344
      }
    },
    "home": {
      "games": {
        "played": 8,
        "wins": 5,
        "draws": 3
      },
      "points": {
        "scored": 229,
        "received": 172
      }
    },
    "away": {
      "games": {
        "played": 8,
        "wins": 5,
        "loses": 3
      },
      "points": {
        "scored": 234,
        "received": 172
      }
    },
    "leagueId": 38228,
    "leagueName": "Major League Rugby"
  }
]

Changes

No recorded changes to this operation across all 1 revision of this API.