lx_rate_limit: get lifx API rate limit

Description Usage Arguments Value

View source: R/rate_limit.R

Description

get lifx API rate limit

Usage

1

Arguments

token

API token (see ?lx_save_token). If left empty, the token is retrieved from the environmental variable if available. (see lx_save_token)

Value

a named vector of three numbers:

1. 'limit': The rate limit 2. 'remaining': how many calls are remaining 3. 'reset': the Unix timestamp for when the next window begins. Usually every minute.


mabafaba/lifx documentation built on June 8, 2020, 3:46 a.m.