I am posting this as I didn't find a good guide on how to use python to do commvault work with APIs avaiable. any working samples? i essentially need to pull a report of all protected server in the app and first put it in an excel sheet daily and then post it on a website after comparing it to my cmdb.
my issue is that i can't even get the sample script provided by commvault(http://documentation.commvault.com/commvault/v11_sp17/article?p=45562.htm) doesn't really work.
i get error name Name error 'user' is not defined
I wil appreciate any help on this matter. I normally would use post man, copy the code and then do the json parsing with python and write it to excel