Pull data

Once your team has annotated your data, you can export the images, videos, and annotations you've been working on using the API.

Initialise the client

Just like when creating a dataset via the API, before we can pull our data, a client must first be generated. Generate an API key in V7 under Settings > API Keys, and enter it in the code snippet below:

from darwin.client import Client

API_KEY = "YOUR_API_KEY_HERE"
client = Client.from_api_key(API_KEY)