dot-fn_set_ratelimit: Set rate limit

.fn_set_ratelimitR Documentation

Set rate limit

Description

A helper function that creates a new copy of the httr::GET function and stores it in the .ffscrapr_env hidden object

Usage

.fn_set_ratelimit(toggle = TRUE, platform, rate_number, rate_seconds)

Arguments

toggle

a logical to turn on rate_limiting if TRUE and off if FALSE

rate_number

number of calls per rate_seconds

rate_seconds

number of seconds


ffscrapr documentation built on Feb. 16, 2023, 10:55 p.m.