Site
Home / Forum / Developers / Livescore matches dissapear prematurely

Livescore matches dissapear prematurely


Posted: 17 Jan 2021 17:38
toma

Posts: 1
Joined: 2023

Hi,

Seems that around minute 75 into a soccer match, the listings are consistently removed from the livescore api. I've watched it today and it happens to all matches it seems.

Also, could you add the fixture id and league_id to the api?

Next to that, i can see all kind of statistics when i go to the fixture, like shots on goal etc. I don't see an api endpoint to get those stats. Nor are they given when requesting the event details.

Anyhow, the first problem is a real showstopper.

Best,

Posted: 17 Jan 2021 22:08

zag


Posts: 3,515
Joined: 2020

Hi Toma,

You should use V2 of the API, it has all the event ID's linked and should work as expected for the full 90mins.

I'm not sure of what was wrong but I guess our V1 data source us breaking... V2 is a different source.

For your last question about event stats, you need to look them up using this API method. It is listed on our API instructions page but is quite a new feature recently released:

https://www.thesportsdb.com/api/v1/json/1/lookupeventstats.php?id=1032723

Let us know how you get on...

Posted: 17 Jan 2021 23:16
toma

Posts: 1
Joined: 2023

Thanks, i think I found everything now yes.

I was using rapidapi, that does not have the bits you pointed out, i will rework everything to use the calls directly. But I think it will be fine now.

Thanks again!

ps. is there a perhaps a Discord to chat on?

Posted: 18 Jan 2021 18:50
toma

Posts: 1
Joined: 2023

Hmm, the v2 api does not list the lineup, yellow or red cards or the players who have scored.... Only the current score is useful...

Posted: 18 Jan 2021 20:02

zag


Posts: 3,515
Joined: 2020

Hmm, the v2 api does not list the lineup, yellow or red cards or the players who have scored.... Only the current score is useful...

You can get the lineup and timeline events using other API methods. V2 is definitely the way forward as it links to all other ID's on our site. V1 is just a copy of other sources.


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