Before we can put the Python Library to use, we'll want to make sure that we have three bases covered:
To use the most up-to-date version of Darwin's Python Library, we'll want to make sure that we have Python 3.7 or above installed. If you don't already have Python installed, you can download the most recent version here.
To install the Darwin SDK, open the Command Prompt in Windows, or Terminal on a Mac, and enter the following command:
pip install darwin-py
If you've previously installed the SDK, make sure you're using the most up-to-date version by entering the following instead:
pip install darwin-py --upgrade
You can generate an API key within V7 by selecting the gear icon and heading to API Keys. When generating the key, we're looking to accomplish two things:
- Encoding the team whose data we will be managing
- Encoding the permissions for the tasks that we want to run.
Hold on to your API key! We'll need it for our next task - creating a dataset.
Updated over 1 year ago