Learn R Programming

sensibo.sky (version 1.0.0)

sensibo.pods: Gets a list of the air conditioners (pods) IDs of the authenticated user.

Description

Gets a list of the air conditioners (pods) IDs of the authenticated user.

Usage

sensibo.pods(key = getOption("sensibo.key"))

Arguments

key

(character) API key from https://home.sensibo.com/me/api.

Value

A character vectors with available pods unique IDs.

Examples

Run this code
# NOT RUN {
# Assuming that a valid Sensibo Sky API Key was created on https://home.sensibo.com/me/api
# and added to a 'sensibo.sky' global option.
#
# options("sensibo.key" = <Your Sensibo API Key>)
 
## Getting the list of pods available to the user
pods.id <- sensibo.pods()

# }

Run the code above in your browser using DataLab