Tag Info

Hot answers tagged

4

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. And, a pressing need for this information has yet to be demonstrated, regarding the API. Note that Stack Exchange refuses to even provide the user's email hash ...


2

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/app. (Hint, hint; wink, wink; nudge, nudge. (^_^) ) For example: /2.2/users/10349?site=superuser&filter=!T6o*9deY.2ZD3-(n4f Returns: { ...


2

Until the feature request is approved, you can get this number in one of 3 ways: You can get slightly stale data with this SEDE query. Note that it uses your Stack Exchange account number (4337810 for the OP) -- which you can get by clicking on the "Accounts" listing of any profile page. Or, You can make a boatload of API calls to get the current ...


2

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! :)


2

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: http://api.stackexchange.com/2.2/users/55075?site=stackoverflow&filter=!G*ky*lRuarbDJTpnwEtY-a05oz Or: ...


2

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 inline-able into HTML without script-injection concerns. That is to say, no additional sanitizing (encoding, HTML tag stripping, etc.) will be necessary on ...


1

The API is not a good tool for this (more below). Use the Stack Exchange Data Explorer (SEDE) for this kind of bulk analysis. For example, this SEDE query shows the number of unique users who asked and/or answered in the PHP tag: Unique, Overall, Active Users: 384,835 Active Question Askers: 256,140 Active Answerers: 209,108 ...


1

Although this can be annoying or confusing, there is no bug. Take a look at your Stack Exchange accounts page. Currently it shows: (Click for larger image) 10 questions, here on Stack Apps, and 1 question on Stack Overflow. Those are the same numbers currently reported for you by /users/{ids}/associated. Both sets of numbers are currently stale (You ...


1

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 (such as 5) for a number of fixed tags A,B,C created in some time period (say, one full week two months ago). This can be done well with \search and a filter ...


1

No. You cannot search for a user by email address. Email accounts are sensitive private information and not disclosed by Stack Exchange. You can search for users by display-name though. See the documentation for /users. You can use the inname parameter. For example: /2.2/users?order=desc&sort=reputation&inname=Stack&site=stackoverflow ...



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