Simulates athletic.net
race results and placing based on PRs
Go to any event for a meet (with entries posted) on live.athletic.net
and copy the last string of numbers (e.g. ...net/meets/39520/events/xc/1497096). Then put the meet ID in the input box, choose an event to base the PRs off of, and press submit.
Note: It will take some time depending on the size of the event to display the simulated data.
Athletic-data will fetch all the registered athletes for the event, and then will fetch each athlete's PRs based on their Athletic.net account.
Note: This means that athletes that don't have both their TF and XC profiles claimed through the same account will not be shown in the simulated data set. (This is only really a limitation for new
(freshmen/novice)
athletes andslower
athletes)
Athletic-data will then sort through each team and assign them a score based on their athletes' placing. The points will be displayed with a chart (Chart.js)
and the PRs in a table (Tabulator)
.
/src/
The website, dependencies, and scripts. Basically the whole project/colors/
A node.js program I made to pull the colors of schools in order to map athletic.net team color names to rgb color codes. This doesn't need to be ran and is unrelated to the website. Will be removed at a later date./dist/
The website minimized withgulp
. Where the project is hosted on the web.
Building:
- Install Gulp with
npm i
- Run
./scripts/build.sh
if you are on MacOS or Linux or./scripts/build.bat
on Windows.
Uses Dracula color palette