getUserAccountUsage {RSauceLabs} | R Documentation |
Access historical account usage data
getUserAccountUsage(account, username = Sys.getenv("SLUSER"), ...)
account |
An object of class "account". An account object see |
username |
SauceLabs username |
... |
Additonal function arguments - Currently unused. |
The result is a breakdown summarizing the total number of jobs and VM time used, in seconds, by day.
Other actUsageMethods: getRealTimeJobActivity
,
getUserActivity
## Not run: myAcc <- account() jobActivity <- getRealTimeJobActivity(myAcc) #> jobActivity$concurrency$self$allowed #$manual #[1] 5 # #$mac #[1] 5 # #$overall #[1] 5 # #$real_device #[1] 0 userActivity <- getUserActivity(myAcc) #> userActivity$subaccounts$rsaucelabs #$`in progress` #[1] 0 # #$all #[1] 0 # #$queued #[1] 0 userAccUsage <- getUserAccountUsage(myAcc) #> userAccUsage #user_name date no_of_jobs vm_minutes #1: seleniumPipes 2016-8-12 2 239 #2: seleniumPipes 2016-8-13 65 6399 #3: seleniumPipes 2016-8-15 36 7235 #4: seleniumPipes 2016-8-16 7 1101 ## End(Not run)