GrafeasGroup / blossom

The website. The app. The everything.
6 stars 3 forks source link

Add `/volunteer/heatmap` endpoint #167

Closed TimJentzsch closed 3 years ago

TimJentzsch commented 3 years ago

Relevant issue: GrafeasGroup/buttercup#29, Closes #166

Description:

Adds a /volunteer/heatmap endpoint to get the data necessary to create a heatmap like this: Heatmap as generated by tor-user-stats

It counts how many transcriptions a user has done in each hour of each day of the week.

For the response, unfortunately Sunday is 1 and Saturday 7, blame Django for that. Sample response displayed on Swagger

Checklist: