Site
Home / Forum / Developers / How to fetch total results (after extended time or penalty)

How to fetch total results (after extended time or penalty)


Posted: 09 Aug 2023 21:42
afsmerch1


Posts: 5
Joined: 2023

Hey zag, Hey Team,

Is there a way to fetch the final result of a match, event a total result e.g. after penalty shooting.

Example -> https://www.thesportsdb.com/event/1875769 Result after 90 mins (0 vs 0 ), Result after penalty 5 vs 4

https://www.thesportsdb.com/api/v1/json/APYKEY/eventresults.php?id=1875769 -> fetched 0 vs 0

https://www.thesportsdb.com/api/v1/json/APYKEY/lookupevent.php?id=1875769 -> fetched 0 vs 0

Do you have any idea ? Via LiveScore vs2 Api call ?

Many thanks in advance ;-)

Simon

Posted: 10 Aug 2023 05:43
curswine


Posts: 938
Joined: 2020

No penalty or extra time data is stored.

The best you can get is manually adding it to the results text box and calling it from there.

Posted: 11 Aug 2023 21:33
afsmerch1


Posts: 5
Joined: 2023

thx for reply,

yes, thought something like that, but thank for confirming.

is there an historical reason why this will not provide or any plans to support this in upcoming features?

Posted: 11 Aug 2023 22:33
curswine


Posts: 938
Joined: 2020

The explanation I've been given is that the events page needs to be versatile enough to accommodate every sport, and the best way to do that is a text box.

Personally I think each sport shoukd have its own for for data collection.

As far I'm aware there is no changes planned, there is a Trello page somewhere which shows what upcoming developments the site has planned, but I don't have it to hand currently.

afsmerch1
Posted: 17 Aug 2023 10:11

Ovokx

Posts: 1,769
Joined: 2020

here you can see the Trello page:

https://trello.com/b/PMumZYQg/thesportsdb

afsmerch1

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)