api_timer: Creates a timer that keeps track of how many calls that has been called during a time period depending on the api configuration. If there can't be another call the function pauses R to do the call.

Description

Use this before function that uses api calls.

Usage

1
api_timer(api_url, calls = 1)

Arguments

api_url

The url to be passed to api_parameters to get api_configs.

calls

The number of calls that the functions should count per function call. Default is one.


Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.