Skip to main content
4 of 5
edited title; Post Made Community Wiki
Kevin Montrose
  • 18.7k
  • 6
  • 35
  • 62

Calculating View Totals for all a User's Questions

The api provides methods to sort and filter individual questions by view count.

In order to find the most viewed question User, some grouping and set operations are required.

e.g.

total_views display_name [user_id]
------------------------------------------
1000 John Doe [12]
900 Joe Snow [431]
. . . etc etc

Post your solution to this use case in the language/library syntax of your choice.

Sky Sanders
  • 12.1k
  • 3
  • 32
  • 60