api_delay {opendotaR} | R Documentation |
API Delay function
Description
Function that controls the delay between API calls to opendota, user can specify the wait_time, but opendota asks you to limit yourself to 1 call per second
Usage
api_delay(start_time, wait_time = 1)
Arguments
start_time |
Time of last API call |
wait_time |
Desired wait time between API calls |
Value
There is no return, it simply sleeps the system for whatever time needed to reach wait_time
Examples
## Not run:
api_delay(start_time, wait_time)
## End(Not run)
[Package opendotaR version 0.1.4 Index]