capabilities.work

Leaderboard To User

A 3-step recipe with WakaTime. We can help you get access.

Recipe · 3 steps

Leaderboard To User

Find the top public leader, then load their profile and all-time totals.

  1. Read the public WakaTime leaderboard, optionally filtered by language or country.
  2. Load the public profile for the top-ranked leader.
  3. Fetch the top leader's all-time-since-today coding totals.
What you'll need to have ready
  • apiKeyBasicAuth: Base64 of "<api_key>:" for HTTP Basic auth (WakaTime API key as username).
  • language: Optional programming-language filter for the leaderboard.
  • countryCode: Optional ISO country-code filter for the leaderboard.
For your developer

Arazzo workflow wakatime:leaderboard-to-user, 3 operations: listLeaders → getUser → getAllTimeSinceToday. Specs on APIs.io.