Skip to main content

Questions tagged [dev-tip]

A tip for developers working with the Stack Exchange API.

7 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
12 votes
0 answers
15k views

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 ...
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, "...
4 votes
0 answers
89 views

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 ...
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