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 |
You need help with the use of the Stack Exchange API, apps built on the API, or assistance building scripts that work on Stack Exchange websites.
2
votes
Accepted
How can I edit a post with the API and python?
OK... I've just meddled with the API and editing.
So, to do what you want, here's what I would do (in steps:)
Get the questions via /questions with the tagged being installation. Use Python to loop …
3
votes
Accepted
How should I try to detect when the Share dialog is open in a userscript?
Instead of polling for it, you can use a MutationObserver which exists for this exact thing:
var observer = new MutationObserver(function(mutations, observer) {
for (var i = 0; i < mutations.leng …
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! :)
2
votes
Accepted
Questions with specific tag and specific text inside questions
You can use the /search method with tagged and intitle
For example: http://api.stackexchange.com/2.2/search?order=desc&sort=activity&tagged=rest&intitle=api&site=stackoverflow will search for questio …
4
votes
1
answer
52
views
Can we find the time of a vote using the API?
I've been looking at the API docs and more specifically at the filters available for the /answers/{ids}, /posts/{ids} and /questions/{ids} routes but can't find anything other than upvoted and downvot …
4
votes
1
answer
331
views
Can I get information about a user with their network ID?
My network profile's ID is 4337810.
Is there any way to get information about users with their network ID from the API? So stuff like username, location, profile image, etc...?
There doesn't seem t …
4
votes
Accepted
Script Request - Meta Notifications
V1.1:
added support for multiple sites (I forgot about the possibility of using multiple sites last time!) …
3
votes
How to get question body (markdown) in the API response using filters?
The body_markdown field in the question (or answer) categories will give you the markdown.
So, !9YdnSJ*_T would be the filter to get a question with the markdown.
Demo: This question:
API URL: ht …
5
votes
1
answer
92
views
How can I access a user's ID on another site (eg. SU) if I have their ID from another site (...
If I have the ID of a user from any site, how can I get that's user's ID for a site I specify?
Eg. If someone's ID was 10349 on Super User, how could I get 10349's id on Stack Overflow?
I know I'd b …
3
votes
Accepted
Access token keeps being invalidated
Turns out this is completely my fault :/
I overlooked the expiry aspect of the access token which meant that I got the default 86399 seconds (~24 hours), which meant my users had to get a new access …
5
votes
1
answer
119
views
Access token keeps being invalidated
For Stack Overflow Extras (SOX), a few users and myself have seen our access tokens being invalidated very often without any apparent reason.
We aren't requesting new tokens (which would invalidate …
5
votes
1
answer
106
views
Is it possible to have no sorting - to just show results in order of inputted IDs?
I'm trying to send multiple IDs at once (up to a max of 100), but need to use the data in the same order I send the request with.
So, if I send IDs in an arbitary order like 4;1;3;2, I would like to r …
3
votes
Accepted
Request for self destructing comments
I've made a userscript to do this.
Get it at Github.
It will add a button next to comments that belong to you after you have posted them (so not as you're writing). Clicking it will produce a prompt …
2
votes
Accepted
Default Stack Exchange behavior interferes with my "Mark answers as favorites" code?
First can I say, you might want to use your own icon. Font Awesome is a very useful and easy to use icon toolkit that lets you add icons with simple CSS classes. You could use http://fontawesome.io/ic …