Manage token availability and waiting
mainKeepa requests consume tokens. By default, the client will wait for tokens to become available before proceeding.
- Default behavior: The client waits for tokens.
- Manual management: Set
wait=Falseonly if your application manages token availability itself.
For large batches, it is recommended to keep wait=True and monitor your usage by inspecting api.tokens_left or api.status between calls.