Site
Home / Forum / Developers / MLB table lookup issue (patreon supporter)

MLB table lookup issue (patreon supporter)


Posted: 05 Apr 2021 10:10
jelliman88
Posts: 1
Joined: 2021-03-13

Hello,
I'm trying to do a table lookup for MLB 2021 season. However the data that comes back is off.

JSON example:
{"name":"Kansas City Royals","teamid":"135257","played":31,"goalsfor":186,"goalsagainst":155,"goalsdifference":31,"win":18,"draw":4,"loss":9,"total":58}

It's showing all teams having played around 30 games and is showing 'draw' as a positive number. The season is 3/4 games in and draws don't happen in baseball.

I'm new to using theSportsDB and couldn't find anything in the forum related to this problem.

Am I searching incorrectly?

https://www.thesportsdb.com/api/v1/json/{my_key}/lookuptable.php?l=4424&s=2021

thanks in advance for any help.

zag
Posted: 05 Apr 2021 11:04

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

Sorry Only soccer tables are supported right now.

American sports are all different and quite complicated to calculate.

You can always calculate it yourself I guess from the results.


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 2 (Total: 2)