Xml Api Request Example Python Loop