Tag Info

Hot answers tagged

10

Another scenario to consider is testing. Granted tests shouldn't really be hitting the service that hard but I know for my library I have at least 50 integration test that when run all at once would it the /questions method with the same parameters many times in a minute. These requests are done anonymously (with no api key) so I am not sure if you treat ...


8

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); Soapi.RouteFactory("api.meta.stackoverflow.com", apiKey) .Tags({ pagesize: 1 }) .getPagedResponse(); will run through all the tags on meta 1 at a time without issue. This is very ...


4

Thank you! All of the new changes are welcome and I can't wait to start implementing some of them in my apps. I do have one question though: what happened to all of my apps? I had a thumbnail image set for all of them and it doesn't look like any of them are being displayed despite matching the requirements (144x119 in PNG format). Edit: This doesn't ...


4

Obvious, but perhaps worth stating: An easy way for desktop apps to reduce API usage is to detect when the screensaver is active or the workstation is locked, and throttle or pause API calls. Use separate polling intervals for different types of data: you may need questions every minute, but can live with reputation updates every 5 minutes. Favor fewer API ...


3

Since we're approaching feature freeze on V2.0, I guess it's time to lay down some guidelines here. Henceforth on app, library, or script posts Comments should be used for general feedback feature requests "bite sized" bug reports (it's down, doesn't work on XP, etc.; anything that doesn't need much context or is trivial to reproduce) Answers should ...


3

Another good way to be conscientious to the API is think about timing. If your app has certain peaks hours, slow down on the calls after hours (If 75% of users are US, run at 1 call/min from 9-5, and 1 call/5 min the rest of the time) The same goes vice-versa. If your application isn't completely reliant on up-to-minute data during the day, slow down on the ...


2

Thanks for wrapping that up (+1) - a couple of recent topics are missing though, so here are More Common Questions Why is there no stable sort order for /sites? See How to order /sites result in a user friendly way to use it in our apps. for comments, discussion and workarounds. Why is the site creation date not available? See Can we add a ...


1

I am not sure if it has fallen off the radar or if it is an honest oversight but we can't seem to get an explicit description of the throttling guidelines. Core issues like this are critical, especially for library developers, and care should be taken to be as explicit as necessary to clearly define the guidelines. Case in point: My lazy loading library ...



Only top voted, non community-wiki answers of a minimum length are eligible