Tag Info

Hot answers tagged

3

The unofficial Winterbash inbox API If you have any user's account_id then the hats information is just one call away. And the call is http://winterbash2014.stackexchange.com/api/inbox?accountId=<account_id> For example, hats information about me can be retrieved via http://winterbash2014.stackexchange.com/api/inbox?accountId=4996787 But here ...


2

No. There's currently no way to do this via the API. Your only recourse, at the moment, is to scrape a user's profile page. Temporary API found, see below. The API is slow to implement features and not big on easter-eggs (that we've ever discovered anyway). If you run a /users query with all user properties enabled, you get something like: "items": [ ...


1

http://winterbash2014.stackexchange.com/api/user-hats?userId=29538&host=stackapps.com This returns an array of arrays. Each inner array contains three integers: The Id of the hat The number of times the user has earned this hat, all over the network 1 if the user has earned this hat on this particular site (Stack Apps, in this example); 0 otherwise.



Only top voted, non community-wiki answers of a minimum length are eligible