Entries:
Comments:
Posts:

Loading User Information from Channel 9

Something went wrong getting user information from Channel 9

Latest Achievement:

Loading User Information from MSDN

Something went wrong getting user information from MSDN

Visual Studio Achievements

Latest Achievement:

Loading Visual Studio Achievements

Something went wrong getting the Visual Studio Achievements

Visual Studio Achievements API

You can access the Visual Studio Achievements via an API.

To get a list of all achievements as JSON, do an HTTP GET to the achievements page like this: http://channel9.msdn.com/achievements/visualstudio?json=true

To get a list of a user's achievements, do an HTTP GET to the user's achievements page. For example, getting all my achievements looks as follows: http://channel9.msdn.com/niners/karstenj/achievements/visualstudio?json=true. Simply replace the karstenj with any user who has registered for achievements and you'll be good to go. Note that this will return a merged set of achievements the user has earned combined with the achievements a user has not earned yet, just like is shown in the UI.

To get a list of the user's achievements that only shows earned achievements, do an http GET to the user's achievements page passing the querystring raw=true.  For example, using my username of karstenj the url would look like this:http://channel9.msdn.com/niners/karstenj/achievements/visualstudio?json=true&raw=true.

To get JSON-P, pass the additional querystring callback={callback_name}.

We've got a sample coming that shows how to use this API to add a widget to your blog, displaying the achievements you've earned. Check back soon!

Tag:

Follow the Discussion

Remove this comment

Remove this thread

close

Comments Closed

Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation, please create a new thread in our Forums,
or Contact Us and let us know.