ratelimit: Generate the ratelimit indicator

View source: R/ratelimit.R

ratelimitR Documentation

Generate the ratelimit indicator

Description

Checks the ratelimit values after the last request and stores the left requests in a global variable.

Usage

ratelimit(req)

Arguments

req

value returned from the GET function, used internally in other functions

Details

Requests to the Strava API are rate-limited. The default rate limit allows 600 requests every 15 minutes, with up to 30,000 requests per day. See the documentation at https://strava.github.io/api/#access.

Value

A variable for the current limits.


rStrava documentation built on Oct. 23, 2024, 5:06 p.m.

Related to ratelimit in rStrava...