General Python

Last post 04-02-2020, 2:16 PM by Colombian2nv7. 0 replies.
Sort Posts: Previous Next
  • General Python
    Posted: 04-02-2020, 2:16 PM

    Hi all,

     

    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

     

    Thanks!

The content of the forums, threads and posts reflects the thoughts and opinions of each author, and does not represent the thoughts, opinions, plans or strategies of Commvault Systems, Inc. ("Commvault") and Commvault undertakes no obligation to update, correct or modify any statements made in this forum. Any and all third party links, statements, comments, or feedback posted to, or otherwise provided by this forum, thread or post are not affiliated with, nor endorsed by, Commvault.
Commvault, Commvault and logo, the “CV” logo, Commvault Systems, Solving Forward, SIM, Singular Information Management, Simpana, Commvault Galaxy, Unified Data Management, QiNetix, Quick Recovery, QR, CommNet, GridStor, Vault Tracker, InnerVault, QuickSnap, QSnap, Recovery Director, CommServe, CommCell, SnapProtect, ROMS, and CommValue, are trademarks or registered trademarks of Commvault Systems, Inc. All other third party brands, products, service names, trademarks, or registered service marks are the property of and used to identify the products or services of their respective owners. All specifications are subject to change without notice.
Close
Copyright © 2020 Commvault | All Rights Reserved. | Legal | Privacy Policy