StratoDem/strato-query

Add an optional waiting period between submitting query chunks

Closed this issue · 0 comments

Description

Some APIs have a rate limit of X queries per Y amount of time. For those cases, we can add a pause between chunks in the query_api_multiple method. By setting that pause time to match the Y, and setting the chunksize to match the X, we can maximize our calls to rate-limited APIs without exceeding their quotas.