Advent of Code Scoreboard
This class will parse a JSON file from the API listed on an Advent of Code private scoreboard into pandas dataframes.
You should be able to install with
python setup.py install
or even
pip install .
This module powers the AOC Dashboard which is a Plotly Dash web app that renders charts and tables based on user-uploaded .json file from the AoC site. The web app is running live on my web site, if you want to check it out.
Usage:
from aoc_scoreboard import AOCScoreboard
scores = AOCScoreboard('myfile.json')
## one row per name, time, day, star, points, and running total points
scores.df
## axis name, columns points by day
scores.make_daily_leaderboard()
## Minutes between stars by day for each user
scores.minutes_between_stars()