Questions tagged [api]
Questions about the Stack Exchange API *only*. If your question concerns any other API, do not use this tag. For bugs, please (also) use the version tag, EG [api-v2.2], that the bug applies to.
76
questions with no upvoted or accepted answers
2
votes
0
answers
49
views
Add privilege_type to the privilege API results
The /me/privileges, /users/{id}/privileges and /privileges APIs are currently returning the fields of reputation, description and short_description.
Sample result as:
{
"reputation": 1,
"...
2
votes
0
answers
58
views
How to get more details flags from questions?
Short question:
How to get the flags that led up to a question being closed?
When we are going to flag a question, we have to look at /questions/{id}/flags/options first, and I can see
The option ...
2
votes
0
answers
218
views
Stackoverflow Javascript Authentication error
Using the Stack Overflow javascript authentication API, I get this error:
Application Login Failure An error occurred while login into an
application.
Error Details
error description: ...
2
votes
0
answers
313
views
Array boolean values are returning empty
I am trying to convert a JSON array to a PHP array, and the boolean values are being lost. I think I need to loop round using foreach() and cast the items as they are placed in to the new array, but I ...
2
votes
0
answers
61
views
How can I show recently answered questions and answers in my blog site?
I would like to showcase some of my Stack Exchange answers in my blog site. I couldn't find a relevant post on how to implement this.
Also, from what I can see, in order to use the API a user needs ...
2
votes
0
answers
82
views
How switch user accounts on the same device?
The Problem
I'm integrating Stack Exchange API on iOS (iPhone). I've run into a situation where I can't log out and authenticate with a different account. I am stuck with the first account that I have ...
2
votes
0
answers
61
views
Version used by StackExchange API if version is not specified in api calls
I have used some StackExchange API calls in my chrome extension - StackEye. With the release of API 2.0, I want to update the api calls so I wanted to know
New things available in 2.0+ which were ...
2
votes
0
answers
214
views
Stack Overflow question downloader in markdown or HTML format?
I want to download a series of questions from Stack Overflow; is there a tool or API that can do this? The download could be in markdown or HTML format. I basically want an offline reference for those....
2
votes
0
answers
64
views
Clarification on related tags for a tag returned by API
I was assuming that the related tags API call, returns all the tags that co-occur with the input tag. But a closer look at the API documentation indicate the following:
Returns the tags that are ...
2
votes
0
answers
32
views
FAQ's URL for any SE Site?
Since I cannot find anything relevant in the API (I guess /stats endpoint would be most relevant):
Is it safe to assume that every SE Site has its FAQ at location: site_url/faq ?
2
votes
0
answers
62
views
Would it be possible (in a future API release) to combine queries?
I've been doing a lot of work on StackMobile lately and I made the following observation:
Many of the pages (especially the ones that display a user's profile) make a number of requests to display ...
1
vote
0
answers
53
views
Add is_moderator to the /me endpoint
There's an endpoint for getting information about a user - called /me. I can get a number of fields from it, including is_staff, which, presumably, indicates if a user is an SE staff member.
Could ...
1
vote
0
answers
91
views
PLACEHOLDER - A post to register my app posting
PLACEHOLDER - Just a post to register my app.
1
vote
0
answers
35
views
Add API to get posts of one collection
We are Teams users and want to get all the articles and questions added into one collection.
I did not find it in the documentation.
1
vote
0
answers
27
views
Add API method for network-wide search
Just like stackexchange.com has a networkwide search, it would be nice to have an equivalent of excerpt-search which searches the entire network at once. That would save me 360 calls (per-site metas ...
1
vote
0
answers
471
views
How does 1 request every 5 seconds exceed the 30 requests per second limit?
I'm doing a run every 5 seconds for this API call:
url = "https://api.stackexchange.com/2.3/questions/no-answers?pagesize=30&fromdate={date_today}&order=desc&sort=creation&site=...
1
vote
0
answers
129
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 ...
1
vote
0
answers
33
views
Could you please return tags pertaining to the question when the api's "answers on user" endpoint is called?
When I call "answers on users", I see that I can select a filter named "tags".
https://api.stackexchange.com/docs/answers-on-users#page=1&pagesize=5&order=desc&sort=votes&ids=303685&...
1
vote
0
answers
120
views
A step by step approach for posting questions and answers?
I am trying to learn a step by step approach for posting questions and answers on stackoverflow.com using the Stack Exchange API.
Could someone help me with this?
1
vote
0
answers
226
views
Attribute error while using the stackoverflow api wrapper for python on IDLE
This is the code that I use to access Stack Overflow:
from stackexchange import Site, StackOverflow
so = stackexchange.StackOverflow()
for q in so.questions(pagesize=50):
print q.title
It runs ...
1
vote
0
answers
111
views
Please differentiate between meta sites for beta versus normal sites, in the /sites method
Currently, in the /sites method, a site can have a site_state of: normal, open_beta, closed_beta, or linked_meta.
This makes it easy to tell if a main site is in beta or not. But it becomes a 2 or 3 ...
1
vote
0
answers
566
views
Why does the web service fail sometimes for the Stack API?
It seems to have happened all of the sudden. My calls to the web service fails. What is the limit of calls per day with a registered app? I can't seem to remember where it says that, I can't seem to ...
1
vote
0
answers
62
views
Would it be a problem if my server polls the API every minute or so about 1 of my questions on my list?
I know that officially identical requests cannot be done in more than one minute.
But would it be a problem if I had a server which had a list of question IDs (say 10 per user, so reasonable max 10,...
1
vote
0
answers
55
views
Wrong API response?
Well, if you look here, you'll see i have
"down_vote_count": 94,
But if you look here on my Stackoverflow profile, you see that my down vote count is 64.
For those who would ask if I'm sure ...
0
votes
0
answers
47
views
How to extract users rating
I need a solution to exact reputations, badges for the stack overflow users. Please let me know. In microsoft programming language should be fine.
0
votes
0
answers
79
views
"error_id":500,"error_message":"this error has been logged","error_name":"internal_error"
I developed an application, user can give vote down or up to question or comments but when I send the request to the API of the stackexchenge the response it is not true and this back to me error ...