Open MartinGantenbein opened 1 year ago
This is only a quick and minimal draft and not ready to be merged.
You can mark this pull request as Draft pull request
It seems to me that the current code that runs on liveresultat.orientering.se is not in this repository. We ran into this when we were trying to create a local server.
This is only a quick and minimal draft and not ready to be merged. For organizers it would be helpful to be able to use liveresults to check if any competitors are still in the forest - especially for the teams in the finish and the course setters. With the current API, we would have to loop over all classresults and filter out the results in status 9 and 10 - which would be very inefficient and cause unnecessary load on both sides.
I don't know the data model and so I had to take a few assumptions (they were probably wrong - I just picked the option that would make this feature the easiest to implement because I didn't want to waste time before knowing it's worth to go on with this).
Please let me know what you think about this and how to proceed (in case you like the feature).