The Python Oracle

how to extract specific info from Soap response in Python (pysimplesoap)

--------------------------------------------------
Hire the world's top talent on demand or became one of them at Toptal: https://topt.al/25cXVn
and get $2,000 discount on your first invoice
--------------------------------------------------

Take control of your privacy with Proton's trusted, Swiss-based, secure services.
Choose what you need and safeguard your digital life:
Mail: https://go.getproton.me/SH1CU
VPN: https://go.getproton.me/SH1DI
Password Manager: https://go.getproton.me/SH1DJ
Drive: https://go.getproton.me/SH1CT


Music by Eric Matyas
https://www.soundimage.org
Track title: Life in a Drop

--

Chapters
00:00 How To Extract Specific Info From Soap Response In Python (Pysimplesoap)
00:49 Accepted Answer Score 3
01:03 Thank you

--

Full question
https://stackoverflow.com/questions/2238...

--

Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...

--

Tags
#python #soap #xmlparsing #pysimplesoap

#avk47



ACCEPTED ANSWER

Score 3


What you get as the response is a Python dict. You can access the GoodEmail value like that:

result = response['VerifyEmailResult']['GoodEmail']

You can read more about Python data types here: http://docs.python.org/2/library/stdtypes.html