Hi, I am working on a personal project where I am calling an API, which only lets you do 5 requests per minute. I want to set my project up such that if more than 5 API requests are made the script waits for 60 seconds (from the time the first asynchronous request was made) then performs the next batch. I have tried using set timeout, but couldn't quite get it.Thank you for your help!
Submitted January 21, 2020 at 05:10PM by doesntspank
No comments:
Post a Comment