1. Home
  2. Docs
  3. JSON Documentation (Old API) – Will be deprecated soon
  4. JSON Calls
  5. League table – Static and Live tables

League table – Static and Live tables

Method

Get the League table or Live League Table of a specific League ID (If it is available in the available standing_types call).

For Live Table:
Using the country leagues call you can check if boolean attributes “hasLiveLeagueTable” and “leagueHasLiveMatches” are true. If they are both true then you can use the optional parameter: “showLive=true” to get the live Standings. If the “showLive” is not used then the default table is the Total table.
A live table is updated according to the score of the live matches of a league at the time that the request was made.

GET /m_leaguetable

Parameters

sport_idSport IdInteger – Required
league_code League name or league id String – Required
country_name Country name String – Required
type Table type, can have “home” or “away” values String – Optional
season_nameSeason name String – Optional
roundRound name, based on sport String – Optional
league_nameleague_name String – Optional
showLiveParameter to show Live table (if available)Boolean – Optional

Response sample

HTML

Coding Example

JS