Skip to main content
3 of 3
Adjusted title to better match the use case.
Steffen Opel
  • 1.4k
  • 8
  • 14

How to calculate a list of users ranked by question favorite count totals.

The API provides methods to sort and filter individual questions by favorite count.

In order to calculate the question favorite count totals per 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