dustin
9 years agoExpert
V2 API: How do I get author's kudo count for past month?
In the following code, I can retrieve the list of users who have kudos in the last month, then for each user I get their details to display them. I wish to get the kudo count for each author, how...
- 9 years ago
You currently can't filter by time on the REST V2 kudos collection, however the REST V1 /kudos/authors/leaderboard call includes a kudos count that should be scoped to the time range you specified (in this case, the last month), and you could display that by adding this:
<#assign userKudos = user.mixin.kudos.weight />
-Doug