Site
Home / Forum / Developers / Live Scores details

Live Scores details


Posted: 31 Jul 2020 16:03
TakiEddineGA
Posts: 36
Joined: 2020-07-31

Hello , i'm working on an api request from where i retreive the live scores of premier league games , but since now there are no games playing , i see that you have provided a static example , but the problem with the static request is that it returns an object instead of list of objects , because it would only retreive one game details , so i would like to thank for the static example , but if you don't mind also providing a static example which returns a list of objects ( at least 2 games , so that i can apply the details properly ) , thank you

* This is the static example
https://www.thesportsdb.com/api/v1/json/1/latestsoccer.php
* i simply want a static example that returns list of games ( array list )

Posted: 31 Jul 2020 16:07

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

Hello , i'm working on an api request from where i retreive the live scores of premier league games , but since now there are no games playing , i see that you have provided a static example , but the problem with the static request is that it returns an object instead of list of objects , because it would only retreive one game details , so i would like to thank for the static example , but if you don't mind also providing a static example which returns a list of objects ( at least 2 games , so that i can apply the details properly ) , thank you

* This is the static example
https://www.thesportsdb.com/api/v1/json/1/latestsoccer.php
* i simply want a static example that returns list of games ( array list )


Yes difficult at the moment as most live leagues just finished! I will need to test tomorrow when there are some more games.

If its any help the multiple games will just be an array of match[0], match[1], match[2] etc..

If you are a Patreon supporter, you can use the V2 of the API.

Posted: 31 Jul 2020 18:26
TakiEddineGA
Posts: 36
Joined: 2020-07-31

I understand that for sure , sometimes things have to be handled and that needs work , i guess it is because livescore is in patreon members tiers , and i m actually a patreaon and i have the key but just initially want to set it up the right way , thank you for the reply

Posted: 01 Aug 2020 20:18

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

I updated the example API JSON

https://www.thesportsdb.com/api/v1/json/1/latestsoccer.php

Posted: 03 Aug 2020 09:00
TakiEddineGA
Posts: 36
Joined: 2020-07-31

Thank you so much for the upload of the new json api , appreciated as always.

Posted: 05 Sep 2020 00:39
TakiEddineGA
Posts: 36
Joined: 2020-07-31

I have little demand if you don't mind , when it comes to the livescore details , the AwayGoalsDetails , HomeTeamRedCardDetails , AwayTeamRedCardDetails , AwayTeamYellowCardDetails , HomeSubDetails , because as i remember the last time you update the testing livescore api link but still there are some empty objects and i think it would be better if the other fields as the one i mentionned above could be filled with data too for testing , thank you .



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