if (FALSE) {
# Interactively at the console
login()
#> EDI-API key (leave blank to use username/password): "my_api_key"
# Programmatically with an API key
login(key = "my_api_key")
# Programmatically with legacy function arguments
login(userId = "my_name", userPass = "my_secret")
# Programmatically with a file containing credentials
login(config = paste0(tempdir(), "/config.txt"))
}
Run the code above in your browser using DataLab