Skip to content

RESTful API Documentation

Fabio Calefato edited this page Jul 4, 2017 · 1 revision

How to Get Approximate User Reputation in SO

Example:

GET /StackOverflowRESTfulWebService/api/StackOverflow/getReputation/:userId/:date

By passing a valid userId and date, the following will be returned:

  • user id
  • user's display name
  • estimated reputation
  • time elapsed

Parameters

Name Type Description
`userId` `string` The id associated with the user
`date` `string` Date to which reputation refers

Response

Status: 200 OK  
{  
   "id":"6",  
   "name":"wax eagle",  
   "reputation":"2702",  
   "time":"0 days, 0 hours, 0 minutes, 20 seconds"  
}