Skip to main content

Questions tagged [dev-tip]

A tip for developers working with the Stack Exchange API.

Filter by
Sorted by
Tagged with
2 votes
1 answer
88 views

Where do I look for a new-to-the-network technical-overview introduction to what a script/app/etc. basically is, including differences between them? Basically, I'm looking for onboarding documentation ...
Ayer AGG'TDd'E-A's user avatar
3 votes
3 answers
791 views

I would like to construct a slug starting from the question title. It would be useful to apps that want to show the original link to the question in a human readable way. On StackPrinter i have this ...
systempuntoout's user avatar
4 votes
0 answers
886 views

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....
5 votes
2 answers
2k views

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 ...
9 votes
3 answers
287 views

Update: I've 'averaged' the few answers and comments and included the respective result below each question (all results are executed accordingly for some time already in most dev-tip posts). The ...
Steffen Opel's user avatar
  • 1,380
3 votes
3 answers
324 views

The API provides methods to sort and filter individual questions by favorite count. In order to calculate the question favorite count totals per User, some grouping and set operations are required. ...
4 votes
0 answers
1k views

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
5 votes
2 answers
215 views

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 ...
7 votes
0 answers
493 views

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 ...
3 votes
1 answer
159 views

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 ...
systempuntoout's user avatar
6 votes
0 answers
201 views

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, "...
3 votes
1 answer
110 views

The use case is to generate a list of bug report submissions, grouped by User, of the following counts in descending order: bug bug + status-completed bug + status-deferred bug + status-bydesign ...