## Not run:
# # Let's assume the api.key is available into the environment variable KEY
# api.key <- Sys.getenv("KEY", "")
#
# # Returns all the contacts with a default set of attributes
# contacts.df <- uptimerobot.contacts(api.key)
#
# # Returns all the contacts and all the attributes
# contacts.full.df <- uptimerobot.contacts(api.key, fields=uptimerobot.fields("contact")$full))
#
# # Returns only the two contacts with ID: 1234, 5678
# contacts.df <- uptimerobot.contacts(api.key, c("1234", "5678"))
# ## End(Not run)
Run the code above in your browser using DataLab