Take the 2-minute tour ×
Stack Apps is a question and answer site for apps, scripts, and development with the Stack Exchange API. It's 100% free, no registration required.

Recently I created a tiny Firefox extension to get given user reputation of Stack Overflow. But I did that using API version 1.1.

How can I migrate that to 2.1? How to authenticate my application with StackExchange?

When I saw the form to register my extension at http://stackapps.com/apps/oauth/register It is asking for domain for oAuth. What should I give there?

share|improve this question
add comment

1 Answer

up vote 2 down vote accepted

You do not need to use authentication to simply access a user's reputation with version 2.1 of the Stack Exchange API. The URLs have changed slightly, so instead of this:

http://api.stackoverflow.com/1.1/users/1

You now do this:

http://api.stackexchange.com/users/1?site=stackoverflow

The JSON response you will receive is nearly identical (the reputation member is still there).

However, you should be aware that with version 2.0 of the API, filters have been introduced. These filters (by default) suppress certain members from the response to conserve bandwidth and (in some cases) cut down on query processing time on the server. You can read more about them here.

share|improve this answer
    
+1 Thank you so much for the api update. –  Ravindra Gullapalli Mar 12 '13 at 20:45
add comment

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .