## Not run:
# # Let's assume the api.key is available into the environment variable KEY
# api.key <- Sys.getenv("KEY", "")
#
# # Returns all the monitors IDs. Since the function always return a data.frame
# # (even if you ask only for a column), you have to reference the column to get a character vector.
# monitors.id <- uptimerobot.monitors(api.key, fields="id")$id
#
# # Returns all the contacts registered for the given monitors
# logs.df <- uptimerobot.monitor.contacts(api.key, monitors=monitors.id)
# ## End(Not run)
Run the code above in your browser using DataLab