Setup
Learn how to get your API key and how to send requests to the platform.
Last updated
Was this helpful?
Was this helpful?
import requests
ANNO_LAB_API_KEY = 'XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX'
project = {
'name': 'New NER Project'
}
headers = {
'Authorization': 'Api-Key '+ANNO_LAB_API_KEY,
}
url = 'https://api.annolab.ai/v1/project/create'
response = requests.post(url, headers=headers, json=project)
print(response.json())