A question about the Stack Exchange API: usage, functioning, guidelines, etc.

learn more… | top users | synonyms

2
votes
1answer
233 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": ...
4
votes
1answer
90 views

Does there exist a method call to get unaccepted answers?

I noticed there was the method /questions/unanswered which returns questions with no upvoted answers but I'm more interested in something like /questions/unaccepted which returns all questions that ...
5
votes
1answer
398 views

Is it possible to authenticate a user through Stackoverflow API?

Is it possible to use the Stackoverflow API to authenticate a given user identity such as with Facebook, Twitter or OpenID? If it's possible: Can you tell me the method(s) that make this happen? ...
1
vote
1answer
167 views

Retrieving JSON via the API using Ajax does not work

I tried to retrieve information of my user profile on Stack Overflow via the API using Ajax/jQuery. But it does not work for me. The result of the request is always empty. <html> ...
0
votes
1answer
73 views

Coding error at open URL

Hi, I have the following method to open a URL API String c=""; URL direccionURL; try { direccionURL = new URL("http://api.stackoverflow.com/1.0/users/523725"); BufferedReader in = new ...
1
vote
2answers
205 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 ...
3
votes
0answers
221 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 ...
8
votes
1answer
254 views

Could/Should the API evolve more agile rather than being blocked by v2 writing (and authentication) features?

The activity on Stack Apps has dwindled noticeably; this might be a topic for its own discussion, however I'd like to revisit the API roadmap beforehand to set a proper stage and expectations in this ...
4
votes
0answers
121 views

Selective API oriented transcript fragment of Jeffs Code Camp Video Interview.

This is a very selective API oriented transcript fragment of Jeffs Code Camp Video Interview: Purpose Please note that this transcript fragment is mainly a supporting post to decrease the length of ...
1
vote
1answer
157 views

How to search all Questions & Answers on specific keyword with PHPstack library?

I am trying to build a page specific to one keyword which should pull all the questions and their respective answers from Stack overflow. I tried phpstack 1.1.1, but no luck. I saw a function ...
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 ...
3
votes
1answer
139 views

what should be the duration between each call to stackoverflow api for getting new questions?

I have a desktop app which pings stackoverflow api after every 2 mins to get the new questions.?
1
vote
1answer
290 views

Where is the API located?

I want to know where is the API located and from where to download?
3
votes
1answer
855 views

Wrong content-type in JSONP calls

When passing jsonp parameter, the API returns "application/json" instead of "application/javascript". I found this because if you do: <script ...
3
votes
2answers
598 views

Silverlight download JSON from API fails

I cant seem to download the JSON for the questions on SO, I cant get the HTML and JSON from other addresses, but the SO API always returns jibberish. Here is my code: public void ...
4
votes
2answers
310 views

Are there more implementation samples with Stack Exchange API 1.0? How could this API useful to me or my users?

I'm looking at how the Stack Exchange API could be useful in my site. Is it fair to say I am in read-only mode when I search for results? What is some envisioned use-case scenarios for this? I ...
3
votes
2answers
245 views

What am I allowed/not permitted to do with the API?

I have a site that will offer technical help and assistance for a certain niche of computer users. I can either host my own forums, or tie in with stack... but I want to be able to make money off it ...
3
votes
2answers
248 views

Is Stack API blocking Yahoo YQL services?

I was hoping to create OpenTable definitions for Stack services to use YQL, Yahoo's SQL to the web thing. It would have been interesting for experimenting, but also for mashups. Unfortunately, it ...
4
votes
1answer
124 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
2answers
207 views

Is there an api to post questions without using the websites interface?

I wanted to post questions after a proper user authentication explained here. Is there anyway I can do this?
1
vote
1answer
46 views

questions/id is sometimes missing an owner?

Every once in a while when I query: http://api.stackoverflow.com/1.0/questions/id I get a question back that is missing the owner field. Is this expected? I haven't seen anything about owner being ...
2
votes
1answer
103 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. ...
3
votes
2answers
369 views

What is the throttle interval or threshold?

Resolution: I have confirmed that a constant interval of 170 ms will run without error. // 30 per 5 sec = 6 per sec = interval 166.6 ms Soapi.RequestQueue.setInterval(170); ...
5
votes
0answers
82 views

Version 1.0 of the API seems to be here!

It looks like v1.0 of the API is here now! I waited a few minutes for an official announcement, but none came - so here it is! Thanks a million to the team for putting this together!
1
vote
1answer
56 views

Pro Webmasters Meta API not working.

Try this: http://api.meta.webmasters.stackexchange.com/0.9/questions?type=jsontext I can't get it to work, even though it's listed in StackAuth.
5
votes
2answers
257 views

Why does the API lack any POST methods?

Why aren't any POST methods available? Being able to post new questions and answers would be very interesting.
6
votes
1answer
139 views

In the timeline the ability to know what events belong to what question

Take this example: http://api.stackoverflow.com/0.9/questions/3165492;3182016/timeline Would it not make sense to have the question_id as a parameter on each timeline object? It makes the timeline ...
15
votes
2answers
769 views

Why does the API lack (proper) HTTP cache control headers?

I've just read Kevins answer to Do I need API key to use StackAuth API? and been quite surprised that the API doesn't seem to facilitate proper HTTP caching already: You really shouldn't be ...
3
votes
1answer
117 views

AND searching for tags?

I am using the search api to search for questions that are tagged with "tags" and not with "tags". However I have noticed that searching for tags is an OR search. The questions search for tags is an ...
2
votes
2answers
129 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 :(
4
votes
3answers
268 views

Getting started: What kind of thing can we do with the SE-API that we can't do with the SE Data Explorer?

I want to know if my slender grasp of the latter will help me learn about the former.
2
votes
1answer
259 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 ...
8
votes
1answer
728 views

How to see which users upvoted a question?

I assume this information is tracked, since StackOverflow shows me the questions I have upvoted (when going to their question page, I can undo the upvote). I couldn't find any api call that gives this ...
7
votes
1answer
159 views

The API v0.9 2010.06.24.002 as seen by SOAPI

Stack Overflow API as seen by the SOAPI parser and code generator: With the API freeze, changes to the vast API should slow to a trickle, making manual maintenance possible. At this milestone, I have ...
0
votes
1answer
281 views

What's the best way to mashup a social network with StackOverflow?

I’m experimenting with an integration project where I mashup a user’s LinkedIn connections and StackOverflow activity. Are there any relevant APIs on StackOverflow that could be used to integrate ...
0
votes
2answers
76 views

Scratch Pad Wiki Question

This q is for use by anyone who needs to modify, add or delete an answer or to modify the q to update the last_activity field. Leave this description, but otherwise have at it.
1
vote
0answers
215 views

Are the Open Data Protocol (OData) endpoints considered to be part of the API? [closed]

The official introduction of the phantastic Stack Exchange Data Explorer (SEDE) made me wonder how the implied Open Data Protocol (OData) endpoints relate to the API? Obviously there is great overlap ...
0
votes
1answer
54 views

r.e. /stats fields.

I see we are getting some meta data in stats now. This is good. I see the api path in there, but I have to assume that it is simply part of the record that is being output and is not intended as a ...
5
votes
0answers
80 views

API Parameters: Consolidated Observations

This wiki question is meant to be a central location for observations and suggestions in the interest of shaping the API meta data. Perhaps items can be removed when accepted and resolved as ...
2
votes
1answer
45 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 ...
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
2answers
91 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, ...
8
votes
0answers
596 views

SOAPI-REST: Complete Stack Overflow API specification in machine readable format

SOAPI-REST Services At four hour intervals, SOAPI-WATCH parses the complete Stack Overflow API documentation and generates a complete object graph representing the API including all routes, ...
5
votes
1answer
131 views

Will URLs always follow this pattern?

Many of the API endpoints return urls, such as /questions/{id} (which returns urls for question_timeline_url, question_comments_url, etc). However, the URL returned is a relative URL, like ...
1
vote
1answer
89 views

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 ...
5
votes
3answers
167 views

API having more rights than a 0 rep user.

The fact that the API has total_upvotes and total_downvotes makes the fact that you need 1000 rep on the sites a bit weird. Are there more things that the API knows by default, which you can only ...
1
vote
2answers
56 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
161 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
3answers
141 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": ...
2
votes
1answer
98 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.