Hot answers tagged

11 votes

Pronoun Assistant

feature-request status-completed Can you implement some kind of support for those of us who are fine with any pronoun, i.e., have no preference? I realise I could probably write something like ...
user avatar
  • 221
9 votes
Accepted

List of Votes by Authenticated users

No. Currently the users type does not return any private_info and neither does the user_timeline type return any voting information. No other API method allows for detecting a user's vote history ...
user avatar
  • 12.6k
9 votes

Pronoun Assistant

bug/feature-request status-completed Strip out the http://my.pronoun.is/ portion of the pronoun tag under the username, seeing as how you can't click on it anyway.
user avatar
  • 193
6 votes
Accepted

How to get total visited days and consecutives of an user?

You cannot get the days visited, nor consecutive, information for a user because that is private information(Poster is SE representative). Stack Exchange is supposed to be about the content, not the ...
user avatar
  • 12.6k
5 votes
Accepted

Can I get information about a user with their network ID?

You can use /users/{ids}/associated Try it for your network account Returns all of a user's associated accounts, given their account_ids in {ids}. {ids} can contain up to 100 semicolon delimited ids,...
user avatar
  • 1,810
5 votes

(Should we) add [Staff] labels to staff member flairs?

This request will be status-planned and we hope to have this completed in the near term in a future sprint.
user avatar
  • 151
4 votes

Getting the top answerers/users for a tag in a custom time range?

This is very costly to do in the API and currently impossible for many combinations of tag and date (because it would require more than the 10,000 allowed API calls per day). I'll write more about ...
user avatar
  • 12.6k
4 votes
Accepted

Get total answers count for a specified: Tag, Userid and Date-range?

Your stated problem is considerably easier than the question you linked. You can use the /users/{ids}/answers route to get what you want -- with a little work. The trick is to use a filter that ...
user avatar
  • 12.6k
4 votes
Accepted

Get the Authenticated User's email?

The API does not provide any method to determine a user's email address and it is unlikely to do so in the future. This would be a risk to both the user's privacy and his/her trust in Stack Exchange. ...
user avatar
  • 12.6k
4 votes
Accepted

How can I access a user's ID on another site (eg. SU) if I have their ID from another site (eg. SO)?

Use the /users/{ids} route to get account_id. Then pass the account_id to /users/{ids}/associated. Note that account_id is exactly the kind of information that should be heavily cached by your script/...
user avatar
  • 12.6k
4 votes

Pronoun Assistant

bug status-completed Seems like there are similar requests for users' info on Chat.SO that fails due to CORS-blocking. You might want to disable the script for Chat.SO so we don't make unneccessary ...
user avatar
4 votes

Pronoun Assistant

bug status-completed Clicking the name of someone in chat breaks the userscript (pronouns no longer appear). To make it more generic, DOM updated to chat, and to main sites (.post-layout, comments, ...
user avatar
3 votes

Can I fetch Stack Overflow users by location in Stack Exchange API

It's not possible (short of fetching all users and filtering yourself). The API simply does not offer that query. For alternatives, see the Data Explorer (SEDE): https://meta.stackexchange.com/q/...
user avatar
  • 5,502
3 votes

How to get a list of all StackExchange employees?

Updated thanks to comments by Brock Adams and user43888. There are two methods to achieve this: Method 1: inefficient, but future-proof as it only depends on the SE API. Query the SE API for all ...
user avatar
3 votes
Accepted

How to get up_vote_count and down_vote_count for a user?

You need to use a filter that returns those properties. The default filter does not. Also, the API is at version 2.2. You should use that unless you've a very good reason not to. So try, for example:...
user avatar
  • 12.6k
3 votes
Accepted

Using API with sites like JSFiddle and CodePen?

This is not the most educated answer, but through trial and error I have found a way to get the information I'm needing for my project. However, the biggest downside to this method seems to be the ...
user avatar
3 votes

Pronoun Assistant

feature-request Can this be made to work on the transcript? It doesn't, currently.
user avatar
3 votes
Accepted

How to get the user's pinned sites?

This information is not available in the officially released version of the API (2.2) and you won't find it in the documentation. However, the Stack Exchange mobile apps have some 'special' API ...
user avatar
  • 5,502
3 votes
Accepted

(Should we) add [Staff] labels to staff member flairs?

Tada! 🎉 This was an easy change on our end, it turns out we already had functionality to turn this on for individual sites. Our code doesn't define Stack Apps as a Meta site so Stack Apps doesn't get ...
user avatar
  • 146
2 votes
Accepted

Encoding type of display_name

That is not URL encoding, that is HTML entity encoding. By default, the API returns "safe" values; see the filters doc: Any string returned as a result of an API call with a safe filter will be ...
user avatar
  • 12.6k
2 votes

Please add the `tagged` parameter to /answers, /users, etc

Hear! Hear! I want to study what makes a good answer on SO. I started by querying complete web pages (questions with all comments, answers, and their comments) for questions with some minimum score (...
user avatar
2 votes

How to get the "People reached" stat of a user, using the API?

You can't as of now. It doesn't exist in the API. Here's a feature request I made - please upvote that for higher chances of getting this added! :)
user avatar
  • 4,215
2 votes
Accepted

Add the 'people reached' count to the API?

Until the feature request is approved (unlikely, and a similar request has no developer love either), you can get this number in one of 3 ways: You can get slightly stale data with this SEDE query (...
user avatar
  • 12.6k
2 votes
Accepted

Can revisions be returned from the API, filtered by user?

Alas, no. The API currently does not have any easy way to track a user's edits. You can see what returns edit information by scrolling to the bottom of the revision object, documentation page. ...
user avatar
  • 12.6k
2 votes
Accepted

How to use shallow_user?

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/...
user avatar
  • 12.6k
2 votes
Accepted

How can I get a user's Meta site details in the API call?

From the doc page for the /users/{ids}/associated route: You can filter the network_users returned by this method with the types parameter. Specify, semicolon delimited, main_site or meta_site to ...
user avatar
  • 12.6k
2 votes
Accepted

Timeline activities appear to be missing (because creation_date has wrong and useless values)

This is probably a variation of this bug and a variation or repeat of this bug that was partially fixed (once upon a time). Anyway, the timeline does show all your events as can be seen with this ...
user avatar
  • 12.6k
2 votes
Accepted

How can I get user links in the API call like Twitter, GitHub and so on?

The API only returns the website link (jarroddixon.com), not the Twitter and GitHub usernames. You can check the results here. The same holds for the Users table in SEDE, so that's not an option ...
user avatar
  • 5,502
2 votes
Accepted

Please provide an API "flair"-data call (`/associated` route is inadequate)

A unified call would be nice, but everything you asked for falls into one of 3 categories: It's already in the users/{ids}/associated call. It's trivially easy to calculate in the app or script. EG: ...
user avatar
  • 12.6k
2 votes

Pronoun Assistant

bug status-completed DonAntonio's math.SE profile contains: ... at least shortly, her/his downvote, making it clear ... This is interpreted as "her/his" pronouns.
user avatar

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