Open chipsTM opened 2 years ago
Actually thinking about this now, this can be compiled once and the output fetched from a new "API". Although I don't know what the preferred way to consume the API would be.
This would require fetching several pages of records, no? Implying this data will have to be stored for every COTD. Possible, but can be quite intensive.
I've gone ahead and done this compiled output for all past cotds (from today).
They can be accessed from github:
https://raw.githubusercontent.com/chipsTM/tmdata/main/cotd-divtimes/<insert-challenge-id>
Will try to find a way to automate it, but these outputs should at least save the hassle of making extraneous calls to nadeo
On the COTD page, for the "challenge" section (or qualifying times sections), I think more valuable information would be to provide the "cutoff times" for each division similar to how my COTD Stats plugin does.
I mention this now because I received a feature request at one point for my COTD Stats plugin to be able to compare times one got in rounds to what their placement would've been during qualifying. I did not/still don't think this is suitable for a plugin (or at least it should be it's own plugin).
I am not sure what the max number of records that can be returned using the API (in order to minimize calls).
Here's a very simplistic mock-up: