Skip to contents

Download device information from Senscape server using http get request.

Usage

get_senscape_devices(api_key, page_size = 10)

Arguments

api_key

Senscape API key.

page_size

The number items per page. Defaults to 10.

Value

A tibble.

Examples

my_devices = get_senscape_devices(api_key = Sys.getenv("SENSCAPE_API_KEY"))
#> Error: lexical error: invalid char in json text.
#>                                        Unauthorized
#>                      (right here) ------^
my_devices
#> Error in eval(expr, envir, enclos): object 'my_devices' not found