cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Not a customer? Start a free trial

Click the Start a free trial link to start a 15-day SaaS trial of our product and join our community as a trial user. If you are an existing customer do not start a free trial.

AppDynamics customers and established members should click the sign in button to authenticate.

Infrastructure (Server, Network, Database)

Parsing XML output from API calls.

Caelin.McCool
Creator

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)
By replying you agree to the Terms and Conditions of the AppDynamics Community.
Parsing XML output from API calls.
0 REPLIES 0