Forum Discussion
Hi peterlu,
I'd suggest checking out the metrics method in the User class. This will give you back a Metrics object from which you can obtain additional information about the user's metrics:
You'll need to know the names of the metrics you're interested in. These names should correspond to the names in the Community Admin. Once you have the name, you can chain to the previous method:
There are a few different Kudos metrics. You'd probably be interested in net_kudos_weight_received which tells you how many Kudos they've received, and accounts for any Kudo weight that you may have given to certain users. Similarly, for Solutions I think you'd want net_accepted_solutions.
So your calls might look like:
/users/id/122/metrics/name/net_kudos_weight_received
/users/id/122/metrics/name/net_accepted_solutions
You can use the date_start and date_end parameters to fine-tune your results as needed. For example:
/users/id/122/metrics/name/net_kudos_weight_received?date_start=2013-08-09T08:00:00Z
I hope this helps!
Related Content
- 5 years ago
- 7 months ago
- 3 years ago
- 4 years ago
- 5 years agoInactive User