## Not run:
# # Let's assume the api.key is available into the environment variable KEY
# api.key <- Sys.getenv("KEY", "")
# # Create a new contact and get the ID
# contact.new <- uptimerobot.contact.new(api.key, type = "email", value = "foo@bar.com", "John Doe")
#
# # Get informations about this new contact
# contact.detail <- uptimerobot.contacts(api.key, contacts = contact.new)
# ## End(Not run)
Run the code above in your browser using DataLab