Leaderboard
Get daily leaderboard
Returns the daily leaderboard of coding time. Public, no authentication required. The leaderboard is cached and regenerated periodically.
get/api/v1/leaderboard/daily
Response
successful
Example response
{
"period": "daily",
"start_date": "2024-03-20",
"date_range": "Wed, Mar 20, 2024",
"generated_at": "2024-03-20T10:00:00Z",
"entries": [
{
"rank": 1,
"user": {
"id": 42,
"username": "goat_heidi",
"avatar_url": "https://..."
},
"total_seconds": 14500.5
}
]
}