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_id | Sport Id | Integer – 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_name | Season name | String – Optional |
round | Round name, based on sport | String – Optional |
league_name | league_name | String – Optional |
showLive | Parameter to show Live table (if available) | Boolean – Optional |
Response sample
HTML
Coding Example
JS