Site
Home / Forum / Developers / Table lookup for Premier League season 18/19

Table lookup for Premier League season 18/19


Posted: 16 Nov 2021 19:47
nkl-kst
Posts: 16
Joined: 2021-01-01

Hey,

the following table lookup returns strange results:

https://www.thesportsdb.com/api/v1/json/1/lookuptable.php?l=4328&s=2018-2019

Results:
{
"table": [
{
"idStanding": "713254",
"intRank": "1",
"idTeam": "134501",
"strTeam": "Colombia",
"strTeamBadge": "https://www.thesportsdb.com/images/media/team/badge/syxsss1455465283.png/tiny",
"idLeague": "4328",
"strLeague": "English Premier League",
"strSeason": "2018-2019",
"strForm": "WWW",
"strDescription": "8th Finals",
"intPlayed": "3",
"intWin": "2",
"intLoss": "1",
"intDraw": "0",
"intGoalsFor": "5",
"intGoalsAgainst": "2",
"intGoalDifference": "3",
"intPoints": "6",
"dateUpdated": "2021-11-15 23:00:31"
},
{
"idStanding": "713255",
"intRank": "2",
"idTeam": "134503",
"strTeam": "Japan",
"strTeamBadge": "https://www.thesportsdb.com/images/media/team/badge/ffsyxz1591989843.png/tiny",
"idLeague": "4328",
"strLeague": "English Premier League",
"strSeason": "2018-2019",
"strForm": "LWW",
"strDescription": "8th Finals",
"intPlayed": "3",
"intWin": "1",
"intLoss": "1",
"intDraw": "1",
"intGoalsFor": "4",
"intGoalsAgainst": "4",
"intGoalDifference": "0",
"intPoints": "4",
"dateUpdated": "2021-11-15 23:00:31"
},
{
"idStanding": "713256",
"intRank": "3",
"idTeam": "136143",
"strTeam": "Senegal",
"strTeamBadge": "https://www.thesportsdb.com/images/media/team/badge/wh8dya1526727459.png/tiny",
"idLeague": "4328",
"strLeague": "English Premier League",
"strSeason": "2018-2019",
"strForm": "WLL",
"strDescription": "",
"intPlayed": "3",
"intWin": "1",
"intLoss": "1",
"intDraw": "1",
"intGoalsFor": "4",
"intGoalsAgainst": "4",
"intGoalDifference": "0",
"intPoints": "4",
"dateUpdated": "2021-11-15 23:00:31"
},
{
"idStanding": "713257",
"intRank": "4",
"idTeam": "133901",
"strTeam": "Poland",
"strTeamBadge": "https://www.thesportsdb.com/images/media/team/badge/ttvrxy1455466076.png/tiny",
"idLeague": "4328",
"strLeague": "English Premier League",
"strSeason": "2018-2019",
"strForm": "LLL",
"strDescription": "",
"intPlayed": "3",
"intWin": "1",
"intLoss": "2",
"intDraw": "0",
"intGoalsFor": "2",
"intGoalsAgainst": "5",
"intGoalDifference": "-3",
"intPoints": "3",
"dateUpdated": "2021-11-15 23:00:31"
}
]
}


Any idea what's going on here?

Thanks
Nick

Posted: 16 Nov 2021 21:00
curswine
Posts: 865
Joined: 2020-06-17

There was some vandalism to the site recently and some is still being discovered. I've corrected what was changed now, but the admin manual sync doesn't appear to be correcting the league table as it reverts back to the incorrect table.

Could you take a look please, Zag?

zag
Posted: 16 Nov 2021 21:14

zag
Posts: 3,323
Joined: 2020-03-23

Hmm not quite sure whats gone on there, but I ran the importer again and it seems to have fixed it.

EDIT: As a bonus I imported all the featured soccer leagues last 10 years of tables.

Ovokx

Who is Online?

In total there are 68 users online :: 3 registered, 0 hidden and 65 guests (based on users active over the past 5 minutes) Most users ever online was 424 on Fri Nov 10, 2017 9:02 pm

About Us

Discussion forum for TheSportsDB.com site and related topics

Rules

- Be Polite
- Respect other users
- Always post log files with issues
- Try to be helpful
- No Piracy discussion

Showing 0 to 3 (Total: 3)