Khan / khan-api

Documentation for (and examples of) using the Khan Academy API
http://www.khanacademy.org
377 stars 75 forks source link

Are there any guidelines for maximum api calls? #84

Closed drakezhard closed 9 years ago

drakezhard commented 9 years ago

If I do an api call every minute will the server complain? I'm not dealing with a big query just the result of /api/v1/students for 60 students.

alangpierce commented 9 years ago

Sorry for taking so long to get to this.

One call every 60 seconds should be totally fine. We haven't previously documented any guidelines or restrictions on the max rate of API calls you can make, but I think one API call per second seems like a reasonable maximum. But it also should be fine to make multiple API calls in the same second if it's a short burst.