2

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?

JasonMArcher
  • 14,195
  • 22
  • 56
  • 52
Ryan Tomlinson
  • 874
  • 2
  • 9
  • 21
  • 1
    The 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 Answers1

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