Infrastructure (Server, Network, Database)

cancel
Showing results for 
Search instead for 
Did you mean: 

Parsing XML output from API calls.

Parsing XML output from API calls.

Hello everybody,

 

I am using the information in this URL: 

https://docs.appdynamics.com/display/PRO45/Alert+and+Respond+API#AlertandRespondAPI-RetrieveAllHealt...

and parsing specific information from the HR violation events response. Right now I have a lack of efficiency in parsing specific tags from the XML inside my script. The parsing is in a function and the function uses the Beautiful Soup 4 library. Any parameterized tag string can be used to find all occurrences of the tag and then the data is extracted, put into a list, and then all the data is returned from the function. Is there a specific library that you or AppDynamics would recommend or support to parse their response more efficiently for specific data?

 

Thank you,

Caelin

 

Tags (3)
Parsing XML output from API calls.