pxweb (version 0.9.1)

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

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.