Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

provide race results in JSON form #275

Open
davewhiteland opened this issue Jul 10, 2024 · 0 comments
Open

provide race results in JSON form #275

davewhiteland opened this issue Jul 10, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@davewhiteland
Copy link
Collaborator

There are already paths for all races, and individual races... making them available as .json endpoints too which return JSON data of all the races and individual race results might not be too much work... and it would be helpful for the 5-RACELOG task.

Technically, each race for which we have a result does expose a "race file" JSON which contains both the results (and disqualifications) and events — it's the file that the race player uses to run the animation — but it's a bit tricky to identify what those URLs are (it's potentially custom for each race: you can see it in the admin by looking at the races)... so making this available as an explicit "get race results" endpoint seems useful.

@davewhiteland davewhiteland added the enhancement New feature or request label Jul 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant