Dear Support Team,
I have now subscribed with FREE package, but I am not getting leagues standing of Champions League, Europa League, Euro Championship, UEFA Nations League and many more. You can check my detail through my Email ID: support@ifootballfan.com. How we can get standings of given leagues.
Please help.
아래에 의견을 추가하고 토론에 참여하세요.
Hello,
As it is reported in the documentation some leagues or cups do not have standings.
You can know the availability of the standings of a competitions via the enpoind “league” which sends you a key “standings” to true or false depending on the availability of the ranking.
Ex :
<code><pre>
$response = Unirest\Request::get(“https://api-football-v1.p.mashape.com/leagues/season/2018”,
return
{
“api”: {
“results”: 67,
“leagues”: {
“1”: {
“league_id”: “1”,
“name”: “2018 Russia World Cup”,
“country”: “World”,
“season”: “2018”,
“season_start”: “2018-06-14”,
“season_end”: “2018-07-15”,
“logo”: “https://www.api-football.com/public/leagues/1.png”,
“standings”: false
},
“2”: {
“league_id”: “2”,
“name”: “Premier League”,
“country”: “England”,
“season”: “2018”,
“season_start”: “2018-08-10”,
“season_end”: “2019-05-12”,
“logo”: “https://www.api-football.com/public/leagues/2.png”,
“standings”: true
},</pre></code>