7

This is currently not possible via the API. The best you could do is have the user logged into a browser and then screen-scrape the stackoverflow.com/users/{user_id}/?tab=votes pages... Hardly an acceptable workaround. The Authentication doc, Scope section, does say: private_info - access full history of a user's private actions on the site. But ...


3

The key mistake here is neglecting the Wrapper Object, and this is a big flaw with the filter documentation. The wrapper is the box that everything you get from the API comes in. You always get the wrapper object except in the grossest of server/API errors. (In your case you were getting a wrapper of {}.) The stuff you care about, the payload, is the ...


3

The date is in "Unix epoch time", as described in the API-docs, Date Formats section. How you do the conversion depends on what language you are coding in. Here's one way in javascript: function unixEpochTime_TO_Date_DDMMYY (unixEpochTime, returnUTC) { var year, month, day; var dateObj = new Date (unixEpochTime * 1000); if (returnUTC) { ...


3

The payload seems to be limited to 3000 characters by the Stack Exchange engine itself: However, the actual field returned by the API may be longer, as the user's 3000, markdown characters are expanded into HTML. As stated in "Can we have maximum length of string in API help pages?", the API itself enforces no length limits on the data and... we're not ...


3

See the documentation for the /questions path and the question object spec. To get answers, merely use the /questions path with a filter that has answers enabled. To get the latest 30 questions, sort by activity, descending, and request only the first page with a page-size of 30. For example: /2.1/questions?page=1&pagesize=30&order=desc&sort=...


2

The /me/associated routeDoc is the preferred way to turn an access_token into a list of users, it returns the collection of per-site user details that can be quickly fetched. It's basically the user's account tab. If you need more details about a user on a give site, then turn around and hit /me (or /users/{ids}) on the sites you've discovered via /me/...


2

I found the answer. On the documentation page we find all needed information: Example: /2.1/questions? pagesize=50 fromdate=1371859200 todate=1372550400 order=desc sort=votes tagged=javascript site=stackoverflow https://api.stackexchange.com/2.1/questions?pagesize=50&fromdate=1371859200&todate=1372550400&order=desc&sort=votes&...


2

This was fixed in the latest deploy.


1

The tagged parameter to /search and related methods is an OR. This query will return questions tagged c# or java, for example. Or is rather expensive, which is one (of the many) reasons those methods are limited in how many results they return.


1

You would use the inname parameter of the users path. For example this gets users with marcamillion in their name, on Stack Overflow. Note that the filter parameter controls what fields are returned, not the content of those fields. I don't use Serel (or much Ruby), but the syntax is probably: Serel::User.inname('marcamillion').get Or, with some more ...


Only top voted, non community-wiki answers of a minimum length are eligible