Description Usage Arguments Value Examples
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
1 | api_delay(start_time, wait_time = 1)
|
start_time |
Time of last API call |
wait_time |
Desired wait time between API calls |
There is no return, it simply sleeps the system for whatever time needed to reach wait_time
1 2 3 4 | ## Not run:
api_delay(start_time, wait_time)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.