Site
Home / Forum / Developers / Live score returning hometeam_id as an object

Live score returning hometeam_id as an object


Posted: 13 Sep 2020 11:22
TakiEddineGA

Posts: 36
Joined: 2020

i would like to notify you about this bug in the live score link , it is returning AwayTeam_id as obeject whne it is supposed to be a string as the hometeam_id , this is an example of what i'm talking about :

AwayTeam":"Cartagena",
"AwayTeam_Id":{
///away team is returned as object when it is supposed to be a string i guess
},
"Time":"49'",
"HomeGoals":"0",
"AwayGoals":"0",
"HomeGoalDetails":{
// i hope you turn these objects into strings instead to handle them in better way , because i noticed
// when there is no data , it turns into an object and vice versa , if you could simply a return null or empty in case
},
"AwayGoalDetails":{

},

Thank you .


Posted: 15 Sep 2020 20:37

zag


Posts: 3,515
Joined: 2020

V1 or V2 API?

EDIT: V1 i'm guessing.

Posted: 16 Sep 2020 22:55
TakiEddineGA

Posts: 36
Joined: 2020

it is v1 yeah


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)