FFLogs API — Maximum number of requests per second

Hello,

I’m writing a small script to extract parses from the API, but after about 140 requests in like 2 min 30 seconds I’m hitting Error 429: Too many requests.

How should I throttle my script so that I do not hit that error?

Thanks!

240 requests allowed every 120 seconds.

Thank you!