ANNO_LAB_API_KEY = 'XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX'
'projectIdentifier': 'New NER Project',
'Authorization': 'Api-Key '+ANNO_LAB_API_KEY,
url = 'https://api.annolab.ai/v1/export/project'
response = requests.post(url, headers=headers, json=exportRequestBody, stream=True)
d = r.headers['content-disposition']
fileName = re.findall("filename=(.+)", d)[0]
with open(fileName, 'wb') as f:
for chunk in r.iter_content(1024):