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.

learn more… | top users | synonyms

2
votes
2answers
156 views

How to calculate a list of users ranked by question score (votes sum) totals.

The API provides methods to sort and filter individual questions by score. In order to calculate the question score (votes sum) totals per User, some grouping and set operations are required. e.g. ...
2
votes
2answers
91 views

How to calculate a list of users ranked by question view count totals.

The API provides methods to sort and filter individual questions by view count. In order to calculate the question view count totals per User, some grouping and set operations are required. e.g. ...
2
votes
1answer
101 views

How to retrieve notifications for a given user.

There seems to be a few of these "dev-tips" so I'll share a problem I have. To notify a user of comments directed to them, we use the users/{id}/mentioned method. However, notifying a user of ...
2
votes
1answer
198 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 ...
7
votes
3answers
304 views

When does the judging take place?

I am planning to work some more on my apps tomorrow and get some last minute changes implemented. However, I notice that: The API Contest winners will be picked the first week of August. ...
2
votes
1answer
86 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 ...
3
votes
2answers
238 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 ...
7
votes
0answers
115 views

suggest add favicon.ico to api endpoints

It will reduce 404 entries in your logs and in our browser based fiddler results. Cheap, easy, fast. GET /favicon.ico HTTP/1.1 Accept: */* Accept-Encoding: gzip, deflate User-Agent: Mozilla/4.0 ...
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 ...
3
votes
0answers
63 views

recommended buffer size for markdown fields is conservative

I ran into a truncation error while inserting user data into a database using the documented field length (buffer size) of 3000. So I redefined to nvarchar(max), pulled all users in the stack ...
0
votes
0answers
44 views

api domain object unique keys

For those who wish to maintain object graphs or to persist api domain objects authoritative documentation of the field(s) that define a unique key for the object would be of value. Some are obvious ...
5
votes
2answers
210 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 ...
1
vote
2answers
182 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 ...
2
votes
2answers
85 views

Will I be able to update the (optional) application icon after registering an application?

The Register Your Application form allows for the (optional) submission of an application icon. Presumably this can be updated after registration via Manage API keys? I'd be surprised if not, of ...
2
votes
2answers
198 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
379 views

Copying CSS from stackoverflow for use in an app?

Is it ok / legal / allowed to copy some of the styles from stackoverflow / serverfault / etc. for use in a stack app?
3
votes
3answers
157 views

Negative voting questions?

I'm trying to, for humorous purposes, check out some of the worst scoring questions ever on SO. I'm pretty much expecting them to all be "heeeeelp homework" or "plz send me teh codez" or something to ...
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
99 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. ...
5
votes
0answers
138 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, ...
1
vote
1answer
48 views

How will the popularity of hosted apps be determined?

In the contest blog post: We will look at the number of requests for your API key. Was your application used by a lot of people? Or at least a reasonable amount? How does this work for ...
3
votes
2answers
119 views

URL Format: Special Characters

I just noticed something in my testing. I was searching for questions tagged "C#" and the questions come back tagged "C". Code Poet's SOAPI javascript formats the route thusly: ...
1
vote
5answers
127 views

Using meta.stackoverflow.com as a support channel for a stackapp?

Is it okay to recommend using meta.stackoverflow.com as a support channel for stackapp I've written. For example, say I had been the person who wrote StackPrinter, on the bottom of the home page ...
2
votes
0answers
33 views

/users/questions with content is very latent

I am seeing response times of up to 30 seconds for a page of 100 questions. http://api.stackapps.com/1.0/users/14/questions?answers=true&body=true&comments=true&page=1&pagesize=100 ...
4
votes
2answers
229 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 ...
0
votes
0answers
65 views

What time are rate-limits reset? [duplicate]

Possible Duplicate: When does a day start and end? In the interest of properly scheduling cron events towards the end of the rate-limit 'day' in order not to starve out interactive users it ...
1
vote
1answer
102 views

Announcing Apps to the Public

I believe this has been discussed before but I can't find the question/answer so I'll ask it officially here: Now that v1.0 is released, it's OK to announce our apps to the general public, correct? ...
5
votes
1answer
94 views

Getting questions with multiple tags

http://api.stackoverflow.com/0.8/questions/tagged/gwt,google-app-engine returns nothing, but http://stackoverflow.com/questions/tagged/gwt+google-app-engine does have plenty of entries. And ...
3
votes
2answers
355 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); ...
4
votes
2answers
212 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 ...
0
votes
1answer
39 views

how/when is rep_change updated?

I am trying to determine the most efficient way to keep a user's rep_change history updated and need some guidance. Here are a few assumptions that I am inferring from the available information: ...
0
votes
0answers
394 views

Issue with using Fiddler as a Proxy

I'm starting to add built-in support for StackOver to the OWASP O2 Platform, and just noticed that there is an issue with using the C# API with Fiddler. It seems that the problem happens when Fiddler ...
3
votes
2answers
333 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 ...
5
votes
3answers
148 views

Injecting HTML Into A Stackexchange Site

I am writing an application that injects some HTML into the page. I was wondering what the policy is for this. Is it ok or generally frowned upon?
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 ...
0
votes
1answer
49 views

Fetch questions from offset?

I want to fetch questions from a certain offset. Not a minimum creation date, just an offset index, independent of the sort and order I'm using. How can I do this? Is it possible at all? ...
4
votes
1answer
74 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": { ...
1
vote
1answer
90 views

Stack Exchange site layout question

I noticed that the new SE sites all have the same layout and the same image. When will these things be changed? I don't want to support these sites in my application, StackTop, until I know the icon ...
1
vote
3answers
138 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
2answers
192 views

Do I need API key to use StackAuth API?

StackAuth sites doco doesn't mention that it requires an API key and there are no X-RateLimit-Max and X-RateLimit-Current response headers on the request. At this stage I am passing my API key just ...
1
vote
1answer
101 views

How to control vote count for individual user?

How do I find if user has already voted for a particular question/answer?
2
votes
0answers
104 views

How the apps-libraries will be judged for the contest?

Do you know how the apps-library will be judged in term of awesomeness? Is there something more official than Jeff Atwood's contest post on the blog?
1
vote
0answers
71 views

Why have routes /badges/name and /badges/tags been favored over respective query parameters for /badges?

I realize that the API is frozen, hence tagging this as support rather than feature-request or bug - I'm irritated about the two routes /badges/name and /badges/tags: They seem to simply filter down ...
2
votes
1answer
117 views

How to mimic search behavior of Stack sites?

I want to mimic the behavior of the search field that can be found on all Stack sites. How should I do this? Filter by tags if all words (how exactly is this detected?) in the query are tags. ...
2
votes
1answer
110 views

Eligibility for the competition?

I notice in the blog post that to be eligible for the comp you need to be listed in the App tab. What is the criteria to get listed on that tab? My app is tagged correctly and I think I am using the ...
8
votes
1answer
485 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 ...
1
vote
1answer
92 views

when/if/how/why do non-trilogy Stack Exchange sites aquire/provide API access

So I am looking at http://mathoverflow.net, trying to blow some cobwebs out of the dark corners of my brain that used to house some not-insignificant abilities and found myself wondering about API ...
2
votes
1answer
258 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 ...
0
votes
1answer
153 views

Best way to calculate total badge count in Javascript?

I'm using Javascript and JSONP and want to find-out a user's total badge-count (i'm not using any libraries). At first I naively added up the badge counts individually, but some user's have no ...
0
votes
2answers
54 views

Why do some ranges have so many values?

Why do some ranges have so many values? For example: [0, 2,147,483,647]