All Questions
300 questions
3
votes
1
answer
90
views
Getting the ID of the question-asker when fetching new answers from the API
I am fetching a list of all new answers posted on Stack Overflow using the /answers API call. This returns the owner of the answer, but I would like to know if the answerer is the same person as the ...
2
votes
1
answer
42
views
How to get "usage guidance" for a tag from the Stack Exchange API?
Stack Exchange site tags have "usage guidance", both a 1-paragraph "excerpt" and a longer tag description, as e.g. for JavaScript here. Is it possible to get this data through the API? The options ...
2
votes
1
answer
337
views
How to get (unread) achievements?
Is there an API call where you can get all achievements and all unread achievements?
Like this:
Update
Thanks to the answer of Glorfindel, I use the following methods to calculate the unread ...
3
votes
1
answer
82
views
503 errors on batch get questions endpoint
I receive a lot of "socket hung up" and 503 Service Unavailable on the /questions/{ids} endpoint. I make requests in batches: 10 parallel requests with 15 question ids, interval between each 10-size ...
2
votes
2
answers
135
views
Is there any way or script to sort questions/posts/answers with custom criteria?
I want to fetch some questions from the API and I would like to sort them. However, I don't want to sort by the default options (activity, votes, creations, hot, week, month), but instead, for example,...
2
votes
1
answer
66
views
Suggested edit not returned by API
This suggested edit: https://dba.stackexchange.com/suggested-edits/20375 is not returned by the /suggested-edits/{ids} API call:
https://api.stackexchange.com/2.2/suggested-edits/20375?site=dba ...
2
votes
1
answer
94
views
I am unable to get the desired response through Stack Exchange API, using Postman [duplicate]
I am using this: https://api.stackexchange.com/docs/answers#page=3&order=desc&sort=activity&filter=default&site=stackoverflow
to get the response.
Is this the correct URI?
I have ...
2
votes
1
answer
55
views
Are the revisions returned by /posts/{ids}/revisions guaranteed to be returned in descending order?
The /posts/{ids}/revisions method returns all revisions to a post, but it doesn't have the sort and order parameters most methods have. From some quick tests, e.g. this one, I think it always returns ...
2
votes
1
answer
2k
views
How to get access token from the hash?
I am trying to implement OAuth Stack Exchange API via Android app as client.
After a successful login from out I get the below URL how do I get or decode the access_token from the hash?
https://...
0
votes
1
answer
150
views
How to search ALL sites with the advanced API?
I can make a request to Stack Overflow as follows, which searches with keywords in titles:
/2.2/search/advanced?title=vlookup%20index%20match&site=stackoverflow
My question is ...
1
vote
1
answer
481
views
Is there a SQL-like query for the API?
I've looked at the API docs.
However, I haven't found a way to do complex queries through the API such as I can do in the Stack Exchange Data Explorer query editor (select, joins etc).
Example: data....
2
votes
1
answer
63
views
I have created a lot of access_token with no_expiry scope while experimenting. How do I delete them?
While learning how to work with the StackApps APIs, I created quite a few (more than 10) access_token with no_expiry scope. Finally I have got my applicaiton working but I am worried that all those ...
1
vote
1
answer
96
views
The API is not returning a value that I know it should
My "Meta Stack Overflow" site details are not listed in the API, when I use meta_site;main_site in the types parameter. See:
/2.2/users/2855348/associated?types=meta_site;...
3
votes
1
answer
108
views
How to query the Stack Exchange API using an OR operator?
I want to query Stack Exchange by title including optional keywords (one of).
How can I query by OR operator?
For example:
/search/advanced?page=1&tagged=java&q=title:http OR class&...
3
votes
1
answer
104
views
Cannot get redirect_uri to work
This is in regards to my userscript Bulk flag comments. I am sure I have not at all updated the userscript since the first release of June 24, and I am sure I was able to register for an access token ...
4
votes
1
answer
105
views
How to get a list of all StackExchange employees?
For a particular userscript feature, I need to get a list of all Stack Exchange employees. The list would be updated every day (per SE website). What is the most efficient way to do so?
I looked at ...
2
votes
1
answer
109
views
Can the API Edit a Question, changing only one field?
The documentation for the edit question method (/questions/{id}/edit) is somewhat vague.
Are all of the parameters required?
For example, if the only field I want to change in the question is tags, ...
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 ...
1
vote
1
answer
50
views
How to get visits per day via the API?
At the overview page of the Stack Exchange network, one can see a list of all sites of the network with some statistics for each site (number of questions, answers etc.). Most of these statistics can ...
1
vote
1
answer
92
views
How to get the user's last seen time in user's profile
In user's profile page, there's a last seen xx mins ago info:
How can I get this information in user object or other object field?
1
vote
1
answer
54
views
What's the meaning about " is_answered" field of question object?
I saw the question object has a is_answered field.
I mentioned that there're the following cases:
The is_answered field is true, and the question has an accepted answer.
The is_answered field is ...
2
votes
0
answers
71
views
I'm having a hard time finding resources for using Stack Overflow's API in Python to query some questions [duplicate]
I can just go through documentation but it'd be a time saver if I could find some sort of tutorial or intro or anything. Does anybody happen to have any resources, notes, or code examples they could ...
2
votes
1
answer
94
views
Can I get the user's top percentile, for tags, using the API?
this is the data I receive when asking for a user data with the Stack Exchange API:
{
"items": [{
"badge_counts": {
"bronze": 27,
"silver": 12,
"gold": 0
},
"...
0
votes
1
answer
171
views
How to pass multiple tags (OR between the tags) to the Stack Exchange Questions/Unanswered API
I am using the /questions/unanswered API to try and get all unanswered questions, sorted by upvotes, and with the tags specified.
How can I pass multiple tags to the /unanswered route(s) using OR-...
10
votes
1
answer
4k
views
What exactly is a valid OAuth domain name for registering your app?
I'm starting to write a native Android client for Stack Overflow, and wondering what exactly is a valid OAuth domain name?
Is it the package name of my app?
Or do I have to point it to a server ...
1
vote
0
answers
132
views
Hidden page tracks Read/Unread Inbox items better than API or Inbox?
How does this hidden page (stackexchange.com/topbar/inbox) know which Inbox notifications I have/haven't opened?
Both the drop-down inbox and the API (ie, api.stackexchange.com/docs/me-inbox) seem ...
4
votes
1
answer
410
views
My filter is not returning any results. How to create a minimal filter?
I'm having trouble getting the SO API Filters to cooperate. I've gone over the documentation as well as similar questions like this and this.
I'll use this call as an example since it successfully ...
2
votes
1
answer
174
views
Is there an easy way to get user reputation via API?
I am looking for an easy way to access user reputation so that I can write a small react component and display my rep on my portfolio site.
I want to make this package available on NPM and have ...
4
votes
1
answer
361
views
Getting an API key for an application without a server
When I go to register my application, it asks me my OAUTH application URL. But I don't have an OAuth server and I just want to get the api-key without my server.
How can I fill out the form required ...
2
votes
1
answer
58
views
Exclude records where field is present (ie., return only open questions)
How do I exclude records based on the presence of a certain field (like the equivalent of SQL's [fieldname] Is Null)?
Example:
Results for Closed questions include field closed_date=1234567890.
...
1
vote
2
answers
87
views
How to use the StacMan library to add a new question?
I didn't find any client.Questions.Add method.
So, how do I use the StacMan library to add a new question ?
Any sample C# example?
2
votes
1
answer
68
views
How to Create a Multi-tag URI Request to /questions
Just want to confirm if I'm doing this right. The /questions guide doesn't mention this.
Let's say I want to ask for multiple tags in one request, am I doing this right?
https://api.stackexchange....
4
votes
1
answer
158
views
How to use /me to display my profile data in StackExchange API?
So I'm able to use API calls like:
https://api.stackexchange.com/2.2/questions?pagesize=30&order=desc&sort=activity&site=stackoverflow
to display a list of questions. This is easy as it ...
4
votes
1
answer
73
views
What API do I call to measure popularity growth for specific tags over time?
I believe I can use the Stack Exchange API to get total questions that fit chosen tags.
I have an example I wrote myself here:
data.stackexchange.com/stackoverflow/...
1
vote
2
answers
56
views
Is there a glossary of the properties returned in response to the Stack Exchange API?
While most items are self-explanatory, some aren't, and I was wondering if there was a glossary explaining all the properties in each of the response types?
0
votes
1
answer
58
views
How to use date parameters in the /questions API? [duplicate]
When using /questions (e.g. like this)), dates are represented by a number.
I'd like to know how I can convert a number to a date. For example if I have 1293840000, what date does it represent?
1
vote
1
answer
46
views
Paging issue: is /users/{ids}/associated API route returning incomplete information?
When querying to find associated accounts for a list of account ids, some ids in the results appear to be missing many of the associated sites. I have only observed this in multi-page responses. For ...
2
votes
0
answers
116
views
JavaScript API Library for StackExchange API?
I'm developing an application that integrates with the Stack Exchange Network for posting questions and importing whole discussions. Therefore I'm looking for a JavaScript library for the Stack ...
3
votes
1
answer
73
views
How can I get user links in the API call like Twitter, GitHub and so on?
I'm trying to get the user's user links from his profile. Like this person
has GitHub and Twitter links on his profile. How can I get those?
3
votes
1
answer
66
views
Receive latest questions with certain tag
I'm creating a simple notification application to inform me about latest questions with defined tags. For example, my tags are python and django.
I want to see the latest asked question with those.
...
3
votes
1
answer
124
views
How to get questions, under a tag, which have at least one answer with 10+ votes?
I want to get all the questions under a tag which has at least one answer with 10 or more votes.
I searched the Advanced Search documentation and searched Py-StackExchange's documentation, but I ...
1
vote
1
answer
60
views
Can I pass a filter to a write method?
I was wondering if I'm allowed to pass a filter to methods that use write access? Like for example /answers/{id}/accept. There is no "filter" parameter, and changing the filter doesn't seem to change ...
2
votes
1
answer
75
views
How do I get information about top users of a Stack Exchange community?
I was going through the stack exchange API and I want to extract information about, say, top 20 users of a particular stack exchange community. How do I use the API for that?
I tried on this page ...
1
vote
1
answer
226
views
Will the Stack Exchange API work with an org-specific Stack Overflow site?
We have a company-specific Stack Overflow site for folks to ask questions with the company. It has a *.stackoverflow.com domain/URL.
Would I be able to use the Stack Exchange API to access the ...
2
votes
1
answer
159
views
How to get the number/count/total of tags/badges/something from the API?
I see we can fetch tags via the API, which works fine
but, sadly, there doesn't seem to be a way to get the count of all possible tags.
Currently the Stack Overflow Tags page shows 36 tags per page ...
0
votes
1
answer
68
views
Get a great many counts of questions, by select tags for a date range?
I am trying to get the number of questions associated with a specific tag for a particular date range. I initially assumed the fromdate and todate parameters would do this. However, it appears that ...
5
votes
1
answer
132
views
How to get total visited days and consecutives of an user?
I checked docs , there are no endpoints to get total visited days and consecutive days. Is there any way to get them?
4
votes
1
answer
95
views
How to use shallow_user?
I can not understand how to access the summary information about the user's reputation. How to use the shallow_user object ?
I tried:
https://api.stackexchange.com/2.2/shallow-user/2765346/...
2
votes
1
answer
206
views
Keep getting 500 "Internal error" in requests with an access token
I'm trying to fetch some data from the Stack Exchange API
I have a valid access_token and registered key but I keep getting internal error as a result.
Here is the request URL:
https://api....
4
votes
1
answer
483
views
Refresh expired acess token basics
I'm trying to learn how to implement an OAuth flow in an Android app using a simple app with the Stack Exchange API.
Using WebView, I'm able to retrieve an access token and store it in my shared ...