How to get badges for a user with Stacky?
-
05-12-2019 - |
Question
I'm using the Stacky API version 1.1. Such an awesome API but I'm not sure how to get a users badges. There is a method GetTagsByUser
but not associated GetBadgesByUser
. Is there something I'm missing or is it just not a part of the API yet?
Solution
The method is GetUserBadges.
IEnumerable<Badge> GetUserBadges(int userId)
I guess it could be called GetBadgesByUser or something else. I am definitely always open to feedback about the library. Thanks!
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow