This function retries a failed API call with exponential backoff.
retry_api_call(fun, ..., verbose = FALSE, retry_count = 3, retry_delay = 1)Result of the function call or NULL if all retries fail
Function to call
Arguments to pass to the function
Logical. If TRUE, prints progress information
Integer. Number of times to retry
Integer. Initial delay between retries in seconds