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.
38
votes
2answers
6k views
How to list your application/library/wrapper/script here
If you've created an application, script, or library for use on the Stack Exchange network, that's fantastic!
Now publicize it by creating a question with the correct tag:
app ...
27
votes
1answer
973 views
Announcing API version 1.1
As has been announced on the blog, we're rolling out a minor revision of our existing read-only API.
While the blog post gives some high level details, I figured [app] developers would appreciate ...
5
votes
1answer
206 views
URL Length Limit For For Requests Taking Vectorised Ids (/answers/{id}, /questions/{id}, etc)
I am trying to use /questions/{id} API to get a list of questions by their ids. Help page for this request does not indicate the maximum number of ids that can be passed in. Pagesize is maximum 100, ...
45
votes
0answers
13k views
Sample Application: World's Worst StackOverflow Clone
Screenshot
About
The World's Worst StackOverflow Clone is an open-source example application for the stack exchange API. It is meant to help programmers get up to speed on development with ...
20
votes
5answers
1k views
Google App Engine [app]s - We are all on the same quota!
Noticing a couple of "This IP has exceeded the request-per-day limit" errors on StackPrinter log, I asked for a verification and the prompt answer was:
There are a number of [app]s using
...
6
votes
3answers
580 views
How do I find a user based upon email hash?
I'm looking for specific guidance on how to locate a user on SO by email address. I'll use this information to work with the API and determine how many points they have on the site.
3
votes
2answers
182 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?
4
votes
2answers
220 views
When does a rate-limit day start and end?
After reading the docs/faqs, I couldn't help but wonder...
What exactly is a day?
When does it start?
When does it end?
What timezone are you using?
In other words, when my app runs out of ...
2
votes
1answer
124 views
Why have recent dev-tip posts been forced into community wiki without explanation despite ongoing community self-regulation?
Preface
Please note that this question is neither about community wiki nor reputation, rather about acceptable moderation, (to stress that I've made it community wiki in itself). Therefore I need to ...
3
votes
2answers
311 views
The API Key does not work
I have registered an app at http://stackapps.com/apps/register, got a Key right away after I have submitted.
But now when I request http://api.stackoverflow.com/0.8/stats?key=MYKEY, I got ...
8
votes
1answer
266 views
Should we add a “this site is not affiliated to Stack Overflow..” disclaimer to our website app?
I've checked legal section but it does not say anything specific of this aspect apart from:
Do feel free to explain that your product is built on the Stack Exchange platform so people understand your ...
7
votes
1answer
90 views
Add close-vote information to the questions object
Would it be possible to add close/reopen vote information to the questions object?
For example, you usually see something along the lines of:
close (3)
when a question has three (current) ...
4
votes
2answers
656 views
API compliant request throttle implementations
Balancing compliance with Request Throttling Limits with maximum allowable throughput in our applications and libraries with any reliability requires self-throttling.
This post is meant to be a repo ...
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 ...
4
votes
2answers
77 views
Prefered way to retrieve all search results
I'm trying to figure out a reliable way to retrieve all the results from a search query (in subsequent pages. My use case includes cases with more than 100 results (the maximum page size).
Looking at ...
3
votes
2answers
284 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
2answers
197 views
Url length limits have been increased
There's been some grumbling in the past about the unreliability of really ludicrously long URLs sent to the API.
We've always considered this suboptimal, but the underlying technical constraints ...
4
votes
2answers
217 views
Odd String Format Result from API Call
I'm just getting started messing around with the SO api, I haven't worked with JSON before, and I am getting a strange result from a basic call (No API Key).
WebClient stackClient = new WebClient();
...
2
votes
3answers
132 views
display_name isn't always there (should have OpenID name if needed)
usually in the owner dictionary there is a display_name value to give the username. But in a few questions it simply doesn't exist and I can't see why only those questions: eg, this excerpt from the ...
1
vote
1answer
99 views
Is there an authentication component to the API?
Is there an authentication component with the API? Same as logging in with Facebook or Google etc?
1
vote
2answers
154 views
Post questions using API [duplicate]
Possible Duplicate:
Is there an api to post questions without using the websites interface?
Can I use the API for posting any question to StackOverflow? I have a internal sharepoint site ...
12
votes
4answers
220 views
Prevent that posts tagged with app or library enter Community Wiki mode when the owner edits it 8 times
I've edited my App 8 times and my question has switched automatically to Community Wiki (I'm aware that it's reported in the faq).
The main reason of these many edits is my shaky english, but I can ...
6
votes
1answer
568 views
Is it safe to embed my API key into my javascript-only application?
I have an application I'm developing that's pure javascript and consumes the Stack API. My API key is embedded in the source which anyone could read. Is this safe?
6
votes
2answers
754 views
Am I accessing the API correctly?
When running the code
$.getJSON('http://api.stackoverflow.com/0.8/questions/4', function(data) {
// Do some stuff here....
});
I get the error
Failed to load resource
Am I accessing this ...
3
votes
1answer
137 views
Is dev.meta.stackoverflow.com gone?
Sorry If I am posting in wrong place, but when I try to login to dev.meta.stackoverflow.com today, I got password protected page and looks like previous password is not valid anymore.
1
vote
1answer
106 views
Will the new traffic measuring formula be available via the API as well?
From this MSO answer:
stackexchange.com/sites was just updated today to use a new formula for traffic. Area 51 is still using the old formula, but will be updated soon to use the new formula.
...
8
votes
1answer
213 views
Registering app for API 2.0 key without Oauth domain
I'm trying to register an app, but it states that I need to add an OAuth domain. But I have Enable Client Side OAuth Flow disabled, because I don't need it right now.
I basically have two questions:
...
8
votes
3answers
191 views
Roadmap - any update?
So now it's 2011 and we should be getting some API updates. As a company you must have some kind of plan. So can you either say the API is never going to be updated or give a time frame to at least a ...
5
votes
0answers
66 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 ...
4
votes
1answer
278 views
What is the syntax for specifying parameters?
How do I specify a parameter in the URL?
http://api.stackoverflow.com/0.8/questions works as expected.
Then I would like to pass parameter body with a value of true (that is available according to ...
3
votes
1answer
37 views
How to access my App info
I've registered for an app yesterday, but I'm not finding where should I go to see/edit it's info again. I've search through profile, at stackexchange.com but could'n find it.
3
votes
2answers
208 views
Can I apply the API Key first and do the application later?
I don't have an application to submit at the moment, but can I apply the key first?
2
votes
1answer
194 views
What are the mechanics of private API beta badge/reputation rewards?
Update:
George Edisons comments appear to explain most issues raised here (if not all), so I reformulated the question to reduce the noise and allow for an answer accordingly. I have considered to ...
1
vote
1answer
242 views
Offline cache of the API - for when the developer has no internet.
Is there some fake API program that "simulates" the API? Just I'm going on a long car journey tomorrow, and I won't have an internet connection on my laptop and don't want to waste the whole journey ...
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 ...
5
votes
1answer
36 views
Do calls on the 1.1 API and the 2.0 count against each other's limits?
Do the old 1.1 API and new 2.0 share limits?
Or do my StackApps running on 1.1 calls not affect my limits for apps running on 2.0 calls?
5
votes
0answers
135 views
How to get the count of a query efficiently
To get the count of a query without returning results, simply specify pagesize=0.
http://api.stackoverflow.com/0.9/users?filter=mike&sort=name&pagesize=0
{
"total": 1161,
"page": 1,
...
4
votes
1answer
299 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?
...
4
votes
2answers
179 views
rate-limit per endpoint per IP VS. server apps in hosted environments
I was wondering if the scenario of a server based app that lives in a hosted environment, where a single IP can be shared by many web sites.
As I understand the rate-limit as it stands, every site on ...
4
votes
1answer
73 views
What is the rational behind the chosen /sites styling info?
I was wondering why the chosen styling data is provided though the API. It makes sense to provide it, but I feel like we are only getting part of the information.
"styling": {
"link_color": {
...
3
votes
1answer
42 views
Elections nominations posts not showing up in API
I know that it's probably unintended that the Primary voting scores were leaked by the API, but I think if you're going to remove it, then at least make it official, so I won't have to wonder if it's ...
3
votes
1answer
221 views
StackPrinter - This IP has exceeded the request-per-day limit.
I'm having this problem.
This IP has exceeded the request-per-day limit
I hardly believe that with StackPrinter, I'm depleting 10.000 requests per-day, per-site :).
Could you please verify?
EDIT:
...
3
votes
1answer
101 views
3
votes
2answers
178 views
What is the correct way to get the stackoverflow.com URL for an answer via the API?
A while ago I made a little "Recently answered on Stackoverflow" sidebar widget for my homepage. Currently this works by filtering answers out of the user feed however I thought I'd update it to make ...
2
votes
1answer
110 views
How to check if a given question is changed
What is the fastest way to check if a question is changed using the API calls?
For my purpose (a cache), a question is considered changed if:
A new comment is added to the question or to any of its ...
2
votes
1answer
85 views
What constitutes 'active participation' in the private API beta?
In trying to understand some continued weirdness regarding badge/reputation rewarding in the context of private API participation I failed to find the explanation what exactly constitutes 'active ...
2
votes
1answer
67 views
How to filter getAnswersForUser by tag?
I'm using Stackexchange java client lib I wanted to get a little more statistics but the following snippet returns only 30 answers.
Do I need to to register for an API key, or just use ...
1
vote
1answer
96 views
How to login programmatically using Android Code?
I think my questions is not a duplicate of this one How to login programmatically
I have read the authentication document but still i am not able to get what should I do for if I want to perform ...
1
vote
1answer
53 views
Software for Javascript?
Do I need any special kind of software to view the responses I get after requesting something? Like with Klout for example, I can get all the code returned as I need it, I just don't know where to put ...
1
vote
0answers
20 views
Are “api-key” and “app-key” the same thing?
When tagging my last couple of questions about registering for a key I noticed there are two similar-looking tags:
api-key - 17 uses and a tag wiki
app-key - 8 uses, no tag wiki
Do they ...


