capabilities.work

Stats Range Comparison

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

Recipe · 3 steps

Stats Range Comparison

Named-range stats, custom-range stats, and the global aggregate side by side.

  1. Load personal coding stats for the preset named range.
  2. Load personal coding stats for the custom range value.
  3. Load aggregated coding stats across all WakaTime users for the same range.
What you'll need to have ready
  • apiKeyBasicAuth: Base64 of "<api_key>:" for HTTP Basic auth (WakaTime API key as username).
  • namedRange: Preset range path value (last_7_days, last_30_days, last_6_months, last_year, all_time).
  • customRange: Range query value for the custom-range stats and aggregate requests.
For your developer

Arazzo workflow wakatime:stats-range-comparison, 3 operations: getStatsByRange → getStatsForRange → getStatsAggregated. Specs on APIs.io.