get.run.Rd
Obtain the details of a details of a specified PEcAn run.
Hits the /api/run/{id}
API endpoint
get.run(server, run_id)
Server object obtained using the connect() function
ID of the PEcAn run whose details are needed
Response obtained from the /api/run/{id}
endpoint
server <- connect(url="http://pecan.localhost:80", username="carya", password="illinois")
# Get details of run with id = '1002042201'
res <- get.run(server, 1002042201)
#> Sorry! Server not responding.