Stack Exchange Network
Stack Exchange network consists of 181 Q&A communities including
Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Visit Stack Exchange
Stack Apps is a question and answer site for apps, scripts, and development with the Stack Exchange API. It only takes a minute to sign up.
Sign up to join this community
Anybody can ask a question
The best answers are voted up and rise to the top
12 years ago
I'm currently using the Stackoverflow API to get a list of detailed user information (via
http://api.stackoverflow.com/1.1/usage/methods/users-by-ids). There is an attribute called "up_vote_count" which returns the number of how often a user has GIVEN upvotes. What I want is some kind of the opposite:
Is it possible with the Stackoverflow API to get/calculate the count of how often a user RECEIVE upvotes?
The only way I would see is to crawl through the reputation changes via
http://api.stackoverflow.com/1.1/usage/methods/user-reputation-changes and add +1 to a local upvote variable if there is "+10 reputation". But this would suck pretty hard...
May 31, 2011 at 20:26
You could call all of the various ways a user can be upvoted and get how many upvotes they received for each.
Within each enumerate looking for the number of upvotes (or score in Comments case).
May 31, 2011 at 21:08
log in to answer this question.
Not the answer you're looking for? Browse other questions tagged
By clicking “Accept all cookies”, you agree Stack Exchange can store cookies on your device and disclose information in accordance with our
Accept all cookies
Necessary cookies only