4

I can not understand how to access the summary information about the user's reputation. How to use the shallow_user object ?

I tried:

https://api.stackexchange.com/2.2/shallow-user/2765346/reputation?site=stackoverflow

and

https://api.stackexchange.com/2.2/users/2765346/shallow-user?site=stackoverflow

Doesn't work. I want to access the total reputation of the user, not the full history.

1 Answer 1

2

You don't use shallow_user; several routes (can) return it.

If you want the reputation for a user, you would typically use the /users/{ids} route. EG:
          /2.2/users/2765346?site=stackoverflow

If you just want the reputation and not a lot of other stuff use a filter. EG:
          /2.2/users/2765346?site=stackoverflow&filter=!40D.p(1f74CtdIRr7

0

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.