cu-ratelimit: ClickUp API rate limit

cu-ratelimitR Documentation

ClickUp API rate limit

Description

The ClickUp API is rate limited per OAuth/PAT token. You will receive a 429 HTTP status code if you exceed the rate limit. According to the API description (https://clickup.com/api), the rate limit is 100 requests per minute per token and is subject to change. At the time of writing, the limit is 900/min/token.

Usage

cu_ratelimit(x)

Arguments

x

A cu object returned by an API call.

Value

Returns a list with the following elements:

  • limit: rate limit (per minute),

  • remaining: remaining requests.

See Also

cu for the cu object class.

Examples

## Not run: 
task <- cu_get_task("8ach57")
cu_ratelimit(task)

## End(Not run)


psolymos/clickrup documentation built on Feb. 9, 2024, 10:09 a.m.