qty = 0
for Attachment in AttachmentList:
Name = AttachmentList[qty]['name']
Download = URL+AttachmentList[qty]['content_url']
GetDownload = requests.get(Download, headers={'authtoken':KEY, 'accept':'application/vnd.manageengine.sdp.v3+json'}, verify=False)
open(Name, "wb").write(GetDownload.content)
qty += 1