A question about the Stack Exchange API: usage, functioning, guidelines, etc.
3
votes
0answers
64 views
API v1.1 users call returns association_id for which the Stack Exchange web site has no profile
For a particular user, the users API v1.1 call returns an association_id that gives a "Page Not Found" error where the Stack Exchange profile should be, though their Stack Exchange profile can be ...
3
votes
0answers
28 views
All updates (answers, comments etc) using stack exchange API
Is there anyway to get information about any change using the stack exchange API's? i.e. if someone leaves a comment or votes on an answer/question?
checking for answer changes is easy cause its a top ...
3
votes
0answers
161 views
Stack Tunnel - WebGL Visualization for Stack Exchange
Stack Tunnel
Screenshots
About
StackTunnel is a WebGL visualization which displays the latest questions from any Stack Exchange site interactively within your web browser. You can click on the ...
3
votes
0answers
106 views
Apigee API Console for the Stack Exchange API
Screenshot / Code Snippet
About
Apigee API Consoles make it easier to learn, explore and test APIs by letting you browse all methods, send and view request/response pairs and share what you ...
3
votes
0answers
216 views
PyOverflow: Account statistics for Stack Overflow for Ubuntu!
I was bored, and I wanted to play with the API, so I came up with this little script:
It's coded in Python and has only a single image dependency.
Here is a screenshot:
Here's the source code ...
3
votes
1answer
1k views
SIlverlight 3 ClientHttp vs BrowserHttp stack: no cross domain policy means no gzip for Silverlight
I notice that even if I send accept-encoding=gzip the response does not seem to be compressed. ( it is late and i was conflating 'accept' with 'accept-encoding')
Should we expect, in the 1.0 ...
2
votes
3answers
84 views
Method /users/{id} doesn't return “about_me” if the user has never modified it
See title. When a user never modified their "about me" section the API doesn't return that, which then causes my parser to go wild returning errors. However, when a user has modified their "about ...
2
votes
1answer
208 views
Retrieving list of c# questions
I am trying to retrieve list of c# questions using http://api.stackoverflow.com/1.0/questions?title=true&tagged="c#".
But I get JSON response related to c questions.
Response :
{
"total": ...
2
votes
1answer
235 views
Strange encoding for JSON output
I'm trying to create an R API. Here's some basic code for processing JSON:
library(rjson)
fromJSON(readLines("http://api.stackoverflow.com/0.9/stats/", warn=F))
As I look into this, the output of ...
2
votes
2answers
99 views
User “authentication” (validation?) in V1 of the StackExchange API
In a previous question, it was asked whether it is possible to authenticate a user through the Stackoverflow API? The short answer was no, not until version 2. Now I would like to know: is there any ...
2
votes
2answers
90 views
Why does Stats Return a Statistics Array
Why does the stats API Call return an Array instead of just an object?
Example Response:
{
"statistics": [
{
"total_questions": 723903,
"total_unanswered": 114097,
...
2
votes
1answer
31 views
Possible to return newest questions with a certain tag?
I am not finding a way to return a list of new questions by tag with the new stack exchange api.
Am I missing something or is this not available? If this is not available, I most certainly request ...
2
votes
1answer
28 views
Is there a way to get the edit URL for a tag wiki from the API?
I've been playing with a little webapp for tags of a certain kind for travel.SE (current pre-alpha version gist on github).
One thing I would like to do is add links for the various tag-related ...
2
votes
1answer
56 views
Are there any plans to add Inbox functionality to SO API?
So, 3rd party applications will be able to notify users about new answers and comments.
2
votes
1answer
92 views
Has anyone *implemented* the Stack Exchange API on top of a public database dump?
It seems that the public database dumps contain nearly all of the data required to respond to API queries.
Has anyone implemented the API, backed by a copy of the public database dump?
It would ...
2
votes
1answer
110 views
What timezone is used in the API?
When a timestamp is used, for example the fromdate parameter in /questions, what timezone are dates in? Is the number supposed to be in milliseconds or in seconds?
To get the current time to pass as ...
2
votes
1answer
45 views
Answers without owners
Is it valid for StackOverflow data to have an answer that does not have an owner? For example if you hit the following API url http://api.stackoverflow.com/1.1/answers/18, it does not bring back an ...
2
votes
1answer
45 views
List of possible values for user_type on API for users
I'm starting to work with the API and I see on the call to retrieve a user or multiple users one of the fields that is returned is user_type. So far I have only seen a value of "registered" come back ...
2
votes
2answers
128 views
StackApps API is down.
It seems to not be responding to any request.
* at least according to downforeveryoneorjustme.com
Update: seems like all the SE sites are down :(
2
votes
1answer
93 views
Top questions/answers
Is there a way to get a list of X questions/answers with the highest votes up, visits, etc?
Say I want to get the list of most voted questions in .NET category (tag) or Java.
Thank you.
2
votes
1answer
22 views
Is question_id unique across all stackexchange sites?
The standard structure of a question URL is:
http://site.com/questions/question-id/title
Example:
http://stackoverflow.com/questions/457927/git-workflow-and-rebase-vs-merge-questions
It is ...
2
votes
1answer
41 views
How about linking Stack Exchange to IFTTT?
Why is there no channel for Stack Overflow on IFTTT?
It would be great if I can mash up the Stack Exchange website with other web-based services like Google Reader or GMail, receive a SMS or ...
2
votes
1answer
90 views
API returning character entities in JSON
I noticed display names in the JSON contain HTML character entities; e.g.
/2.0/users/718618?order=desc&sort=reputation&site=stackoverflow
Gives me:
{
"items": [
{
"user_id": ...
2
votes
1answer
29 views
Better way to find activity changes in terms of API Usage
I am coding an application that notifies events in Stack Exchange accounts. I want to notify about badges/reputation changes, and also I would like to notify whenever a new answer or comment is posted ...
2
votes
1answer
53 views
Are these requests guaranteed the return the same results?
Going over the API, there seems to be some overlap when it comes to expressing a predicate in a URL.
For example, let's say I want to fetch some questions from stackoverflow.com that have the tag ...
2
votes
1answer
90 views
what is the url for a *.stackexchange site's api?
from my understanding, the documentation suggests that we can use the api against any current *.stackexchange website
what would be the url for the api for one of these ? e.g. ...
2
votes
0answers
37 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
0answers
17 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
0answers
38 views
Please add “total votes on questions” and “total votes on answers” into /user/{id} API
Is there any chance that the following methods:
Total votes on questions (N.B. NOT total score but total number of votes)
Total votes on answers
Could be added to the API?
There are no threats to ...
2
votes
1answer
44 views
consistency for array parameters
It would simplify the api and consumption there of if all parameters that accept multiple items used a common delimiter.
We have semicolon and space that I know of so far.
Eliminating space as a ...
2
votes
1answer
120 views
Guidance on usage thresholds - specifically throttling
I am running a lot of tests and have started to get 403 errors.
I am using a key and certainly have not exceeded my quota.
Am I running foul of some yet unmentioned throttling threshold and if so, ...
1
vote
3answers
155 views
What is the best way to provide support for an unknowable number of StackExchange sites?
I just wrote an app for Chrome extensions and received a request to make it cross-StackExchange compatible. If there's eventually going to be more sites than just the few listed and I don't really ...
1
vote
1answer
67 views
Making use of the *“has_more”: true* json attribute in the Json response from stackoverflow
When issuing requests to the stackoverflow-api, I set the pagesize to a 100 (which is the maximum possible). However, some json responses contain this attribute (normally at the very bottom):
...
1
vote
1answer
34 views
Posting answers via Stack Exchange API
Can I post answers via an app using the API, is it possible? And if so, what are the limitations; linked with the reputation of users?
So if someone has 1 reputation he can also post answers, like a ...
1
vote
1answer
41 views
Throttling Question
Hey all,
I keep getting kicked out of the API.
Is throttling set to 30 requests per 5 seconds?
j
1
vote
1answer
252 views
1
vote
2answers
28 views
How to get the site name from document to pass to API?
Most APIs take a parameter site which must be set to the name of the site your queries are about.
For meta.travel or travel.
But of course sites have various names, for example ...
1
vote
1answer
51 views
Best strategies for calling the API with full throttling support?
I know this would be subjective on a normal SE site but as the relevant chat rooms are mostly dormant, we have no meta site, and nobody noticed when I asked if this kind of question is OK here, I'm ...
1
vote
1answer
31 views
Is there a maximum on the number of search results returned (using the SO API)?
I was trying to do statistics on post from some not-too-popular tags like matlab, using the search method. It appears that it will never return a total larger than 2000. Is this a hard limit that ...
1
vote
1answer
138 views
Using the API directly from JavaScript
Is there any way I can use the API directly from JavaScript without any Server side proxy? I know of the inter-domain restrictions, but can we do it somehow in case of facebook API right?
1
vote
1answer
139 views
Stackoverflow API - get “received” upvote count of a user.
I'm currently using the Stackoverflow API to get a list of detailed user information (via http://api.stackoverflow.com/1.1/usage/methods/users-by-ids). There is an attribute called "up_vote_count" ...
1
vote
1answer
99 views
Non-verbatim search strings in py-stackexchange
Hello,
I am writing a python program with py-stackexchange that takes a query and returns a list of urls to questions with that query in the title. Here's the code:
#!c:/Python27/python.exe -u
...
1
vote
2answers
199 views
Is there an SO API which can fetch all Questions & Answers for a particluar Keywords
I am looking for an API which helps in fetching all the Questions & Answers from SO and other Stack Exchange sites only on a particular "keyword". Later using XML RPC these questions will be ...
1
vote
1answer
70 views
Is it possible to restrict the pool of answerers to users meeting certain criteria?
I'm expecting the answer to this is an unfortunate "no," but I've been unable to find it discussed anywhere, so here I go asking:
I'd love to use this API, but the site I'm considering would need the ...
1
vote
1answer
84 views
API Suggestion: Abstract paged results to enable cleaner libraries
It would make great sense for paged results array property to have a common name, items perhaps.
For those writing in languages that support 'generic' constructs, this would simplify the code ...
1
vote
2answers
52 views
Is there a difference between “newest” and “creation”?
When I look at some API endpoints, say /questions/tagged/{tags} and /questions/{id}, I see that the former can be sorted by newest, and the latter can be sorted by creation, both ascending or ...
1
vote
3answers
135 views
API not returning anything near the actual website
The API /questions page is not returning anything like the list of questions on the actual SO site.
This is the first question of the 0.8/questions
{
"total": 705769,
"page": 1,
"pagesize": ...
1
vote
1answer
21 views
Get all sites of type “main_site”
Is there a way to get all sites of type main_site from the /site method?
If not, what's the best way to get that list? Should I get all sites with a huge pagesize and then filter it in my App?
1
vote
1answer
37 views
Get questions content from StackOverflow API
I need to get the question content from StackOverflow site.
I already built the functions that parse the HTML for a question, and return me the question content.
But, I found that there is an API, ...
1
vote
1answer
22 views
Questions returned by /questions/{ids}/related do not contain link properties
The API docs claim that /questions/{ids}/related return question objects, but I can't find a link property on the returned questions at all.
Is there some sort of workaround to find the link for a ...