Python API Example
Example: The following example show on how to read retrieve data where equipment type is 'CHASIS'
Step 1: Import required library (CaaSClient)
Step 2: Credentials to connect to the system.
Use API keys to connect to the system
Step 3: Create CaaSClient object
Step 4: Connect to inventory API and execute (alternative API )
Step 5: Get the number of rows in inventory table
Step 6: Get number of modules in inventory
Step 7: Using Inventory API get all CHASSIS (return value is a pandas DataFrame object)
Now you can query the dataframe df using normal Pandas functions.
Last updated