Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options questions only not deleted user 14

The question you're asking is designed to solicit opinions or best-practices on a particular topic, with the goal of reaching community consensus.

17 votes
0 answers
2k views

What is SOAPI and why should I care?

Let me answer the last question first: Why should you care? You shouldn't care unless you are a .NET or JavaScript coder who can leverage robust client access libraries for the Stack Exchange API …
Sky Sanders's user avatar
  • 12.1k
13 votes
0 answers
15k views

How to call the API via JSONP in Plain Old JavaScript

This tips demonstrates how to call the API in JavaScript without the need of jQuery or other frameworks. In a lot of cases you will find that the JSONP implementations provided in various frameworks …
12 votes
7 answers
308 views

API V2 Musings: What would you like to see

Answers should take the form of feature requests/modifications that are either obviously beyond the scope of v1 and or have been status-declined or status-deferred They will be indexed here in the Q. …
9 votes
7 answers
4k views

How to format time since xxx e.g. "4 minutes ago" similar to Stack Exchange sites

function timeSince(date) { var seconds = Math.floor((new Date() - date) / 1000); var interval = Math.floor(seconds / 31536000); if (interval > 1) { return interval + " years"; …
9 votes
1 answer
168 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 …
Sky Sanders's user avatar
  • 12.1k
8 votes
1 answer
535 views

How to batch up multiple id requests to maximize economy and still avoid (400) Bad Request [closed]

Update: All of our grumblings and the unbearable beauty of our workarounds resulted in this issue being fixed last week. You can now send 100 id in one request and receive 100 responses. See Url lengt …
Sky Sanders's user avatar
  • 12.1k
7 votes
0 answers
478 views

How to use min/max with sort

While some sort values make inference of the expected min/max values less than ambiguous, others do not. Pending formal documentation, I hope this can serve as an informal reference. Aggregated sort …
5 votes
3 answers
533 views

OBSOLETE - Build an app with Soapi.JS and gain praise and adulation. And some rep

Bounty Contest: Build anything using the Soapi.JS JavaScript wrapper and either post the code or a link to a live demo. When the question gets old enough (7 days I think) I will click 'start a bounty' …
Sky Sanders's user avatar
  • 12.1k
5 votes
2 answers
174 views

Simple Activity Monitor - For Educational Purposes only.

This Soapi.JS script, if abused is likely to provoke frowns from those whom you would like to see smiles. Note: the dataset is only valid if the entire user base is pulled, and on just about any othe …
4 votes
0 answers
697 views

Area 51 site proposal: StackExchange API Application Development [closed]

The question was closed instead of migrated so I have opened a new question on meta https://meta.stackoverflow.com/questions/55163 Currently intended role of StackApps.com is not entirely clear. …
Sky Sanders's user avatar
  • 12.1k
4 votes
0 answers
1k views

Dev-Tip: How to call the API in C# and Silverlight

This tip shows a simple and reliable way to create HttpWebRequest that are configured to properly query the api. With the exception of the AutomaticDecompression assignment, this code can be used in …
Sky Sanders's user avatar
  • 12.1k
4 votes
0 answers
874 views

How to retrieve paged API results in C# and Silverlight

In this tip we are going to leverage the SimpleRequestFactory and gather a multipage response. Let's pull the first 5 pages of 100 users on stackapps.com. NOTE: for Silverlight, substitute Newtonsoft. …
4 votes
8 answers
4k views

How to format reputation numbers similar to Stack Exchange sites

UPDATE For JavaScript, see CMS's implementation below. It is much more elegant than the one I provide in the body of this Q. // formats a number similar to the way stack exchange sites / …
3 votes
1 answer
135 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 acc …
Sky Sanders's user avatar
  • 12.1k
3 votes
0 answers
229 views

Guidance on usage thresholds - specifically throttling [duplicate]

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, w …
Sky Sanders's user avatar
  • 12.1k

15 30 50 per page