wl_sensors: Get a catalog of all types of sensors

Description Usage Arguments Value References

View source: R/sensors.R View source: R/sensor-catalog.R

Description

Returns a catalog of all available sensor types.

Returns data for all sensors attached to all gateways associated with the API Key passed in the query parameters. Currently all nodes are returned in a single response. A future enhancement will provide pagination to reduce the size of the response.

Usage

1
2
3
4
5
6
7
8
9
wl_sensors(
  api_key = Sys.getenv("WEATHERLINK_API_KEY"),
  api_secret = Sys.getenv("WEATHERLINK_API_SECRET")
)

wl_sensors(
  api_key = Sys.getenv("WEATHERLINK_API_KEY"),
  api_secret = Sys.getenv("WEATHERLINK_API_SECRET")
)

Arguments

api_key, api_secret

WeatherLink API (V2) key/secret. Generate & retrieve them from your account page. Automagically retrieved from WEATHERLINK_API_KEY and WEATHERLINK_API_SECRET environment variables.

Value

data frame with a generated_at attribute

data frame with a generated_at attribute

References

API Endpoint; Data structure types

API Endpoint; Data structure types


hrbrmstr/weatherlink documentation built on Jan. 20, 2021, 10:34 p.m.