Two modes are available when using the API:
async: record all API calls, but nothing is sent to the server
sync: send query to the API each time a function is used
setAPImode(mode = c("sync", "async"), opts = antaresRead::simOptions())
The mode you want to use.
List of simulation parameters returned by the function
antaresRead::setSimulationPath()
An updated list containing various information about the simulation.
if (FALSE) { # \dontrun{
# See vignette for complete documentation
vignette("api-variant-management")
# Usage :
setAPImode("sync")
} # }