petlof / liveresults

EmmaClient is a client-server system for publishing liveresults from Orienteering events. It have been used on many major events such as JWOC, WOC, EOC,..
http://liveresultat.orientering.se
GNU Lesser General Public License v3.0
40 stars 24 forks source link

Draft: New API for pending competitors #58

Open MartinGantenbein opened 1 year ago

MartinGantenbein commented 1 year ago

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).

arnost00 commented 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

arnost00 commented 1 year ago

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.