Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
Tools that help with user profiles/accounts, or issues with the API handling of users
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 …
1
vote
Accepted
Get UserId by passing email ID in the Stack Exchange API?
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
Returns all the users on Stack Overflow that have stack (case insensitive) in their display name. …
1
vote
Get users based on location?
You could brute-force smaller sites that have less than 1 million users, but I wouldn't recommend it.
You can search by location using SEDE. … For example:
Stack Overflow users who claim to reside in Bangladesh
Note that SEDE data may be up to 1 week old and there is no API for it. …
2
votes
Accepted
How to use shallow_user?
If you want the reputation for a user, you would typically use the /users/{ids} route. EG:
/2.2/users/2765346? … EG:
/2.2/users/2765346?site=stackoverflow&filter=!40D.p(1f74CtdIRr7 …
1
vote
Accepted
How do I get information about top users of a Stack Exchange community?
That /users route works perfectly fine for showing the top users (of all time).
For example to get the top 20 Mathematics users, use:
/2.2/users? … pagesize=20&order=desc&sort=reputation&site=math
Which gives the same results as the top users page on math.stackexchange.com. …
6
votes
0
answers
72
views
Docs say the API returns a user's age, but it doesn't (anymore)
The doc page says that the user object returns an age property (for those users that specified an age).
But the API no longer does. … (Plus spot checks of users that had age in their profiles at one time.)
Note that:
Age was removed from users' (site) profile pages in April 2015. …
0
votes
Accepted
How to get the user's last seen time in user's profile
Get it via a call to the /users/{ids} route.
For example:
/2.2/users/50274?site=stackapps
Which currently shows your last_access_date as 1528358274. …
5
votes
Accepted
How do I get a user's bio with the SE API?
For example, here is a query to get your "About me" on stackapps:
users-by-ids#ids=8109&filter=!. …
1
vote
The `top_questions` field shows outdated information?
Those are the same numbers currently reported for you by /users/{ids}/associated. …
4
votes
Accepted
How can I access a user's ID on another site (eg. SU) if I have their ID from another site (...
Use the /users/{ids} route to get account_id.
Then pass the account_id to /users/{ids}/associated. … (Hint, hint; wink, wink; nudge, nudge. (^_^) )
For example:
/2.2/users/10349?site=superuser&filter=! …
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. …
2
votes
Accepted
Can revisions be returned from the API, filtered by user?
. <==
Or, request that a /users/{ids}/edits route be added. …
1
vote
Accepted
Paging issue: is /users/{ids}/associated API route returning incomplete information?
So if you fetch:
/2.2/users/1144996;6913068;6453670;1751488;73042;1840350/associated?page=1&pagesize=100
and
/2.2/users/1144996;6913068;6453670;1751488;73042;1840350/associated? …
2
votes
Accepted
Timeline activities appear to be missing (because creation_date has wrong and useless values)
Anyway, the timeline does show all your events as can be seen with this query:
/2.2/users/4751173/timeline?fromdate=1563667200&site=stackoverflow
where 1563667200 is midnight on July 21st, 2019. …
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. … (For most users, their non-numerical flair data is unchanged for years at a time.) …