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?
Asked
Active
Viewed 147 times
2

JasonMArcher
- 14,195
- 22
- 56
- 52

Ryan Tomlinson
- 874
- 2
- 9
- 21
-
1The API provides a method [`/user/badges`](http://api.stackoverflow.com/1.1/usage/methods/user-badges), so it is possible. I'm not sure if Stacky implemented it though. – jjnguy Feb 23 '11 at 13:30
1 Answers
2
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!

Luke Foust
- 2,234
- 5
- 29
- 36
-
Thanks lfoust. I see a few other bug fixes have been pushed this week. Thanks also for that :). – Ryan Tomlinson Feb 28 '11 at 20:47