Questions tagged [dev-tip]
A tip for developers working with the Stack Exchange API.
24 questions
2
votes
1
answer
102
views
Where do I look for a new-to-the-network technical-overview introduction to what a script/app/etc. basically is, incl. differences between them?
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 ...
3
votes
1
answer
183
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 ...
4
votes
0
answers
263
views
Announcement: StackExchange API Development Wiki
RIP August 24, 2010 - April 26, 2013
Due to lack of interest and the increasing burden of maintenance, I have decided to close down this wiki. Most of the information that it contains is either ...
4
votes
1
answer
142
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 ...
3
votes
1
answer
127
views
How to generate a list of users ranked by bug report submissions.
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
...
3
votes
3
answers
235
views
How to generate a list of users ranked by activity (question or answer count).
The use case is to generate a list of users ordered by activity, i.e. question_count or answer_count.
e.g.
total_(questions|answers) display_name [user_id]
------------------------------------------
...
3
votes
3
answers
349
views
How to calculate a list of users ranked by question favorite count totals.
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.
...
3
votes
2
answers
219
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.
...
3
votes
2
answers
143
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.
...
3
votes
3
answers
315
views
How to monitor API version and site state
I want to make an application in which the used API will automatically be updated when a newer version is released. What is the procedure to check if a newer version is available or not?
How can I ...
4
votes
0
answers
99
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 ...
5
votes
2
answers
2k
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 ...
12
votes
1
answer
439
views
How the /sites method is meant to be used
The /sites method is used to enumerate all sites in the network. If your [app] is meant to run against more than a single site (and many are) this method is how you should be discovering new sites in ...
5
votes
2
answers
250
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 ...
3
votes
4
answers
275
views
How to order /sites result in a user friendly way to use it in our apps.
Since ordering of /sites is not guaranteed, how do i effectively order sites in a user-friendly way?
General requirements:
Trilogy must stay on the top of the list
[stackoverflow.com,meta....