Site Home / Forum / General Discussion / Cancelled Match after Kickoff
Cancelled Match after Kickoff
Posted: 29 Oct 2023 14:40
Greavel
Posts: 39 Joined: 2022
How can I see via API if a game has been cancelled? So I'm mainly interested in the fact that a game which had already been whistled was canceled.
For example, the following game was just canceled because of heavy rainfall at half time:
https://www.thesportsdb.com/event/1847297-FC-Saarbr%C3%BCcken-vs-Dynamo-Dresden
In the livescores the game doesn't show up anymore (of course, because it was canceled) but I don't see any other way to detect via API that the game was canceled. I also can't set the game to abandoned via the website of thesportsdb.com (can only do finished there, but it wasn't finished properly).
Posted: 03 Nov 2023 02:26
slimothy8
Posts: 9 Joined: 2023
The strStatus field in the /lookupevent endpoint will show CANC for canceled. But, from what I can tell that endpoint is only updated every few hours...
Here's a list of other statuses https://www.thesportsdb.com/forum_topic.php?t=5236