Cricket.Leagues

Get league by id

Retrieve league information by specifying the league id path parameter.

Note: Used to check whether a league still exists or had its information updated.

get/cricket/leagues/{id}

Request

Path parameters

idnumber required

Requested league id.

Headers

x-rapidapi-hoststring required

sport-highlights-api.p.rapidapi.com

x-rapidapi-keystring required

Rapid API Token

Response

idstring required
logostring
namestring required

Example response

[
  {
    "id": "48513362",
    "logo": "https://example.com/logos/league/1635.png",
    "name": "Big Bash League",
    "country": {
      "code": "AU",
      "name": "Australia",
      "logo": "https://example.com/logos/country/AU.png"
    },
    "seasons": [
      {
        "season": 2023
      }
    ]
  }
]

Changes

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