Does any one have a suggestion or best practice on...
# singer-tap-development
a
Does any one have a suggestion or best practice on api that has a rate-limiting? I think 500 hits per hour per endpoint
s
I'm not sure if this is what you're looking for, but we use something called exponential backoff to automatically regulate how many calls we make: https://bpaulino.com/entries/retrying-api-calls-with-exponential-backoff
e
There are some implementations in the wild, like https://github.com/MeltanoLabs/tap-stackexchange/blob/0bde20d6fd0d09fcdc7d87ef2f10d66c2b5da39d/tap_stackexchange/client.py#L29-L62 (disclaimer: it's my implementation 😅)
a
Thank you for sharing this. 😆