The following examples are meant to help you get started using our Python API.
All examples authenticate using Service Account credentials. These can be provided to the package by either editing the example code directly, or setting the appropriate environment variables.
export DT_SERVICE_ACCOUNT_KEY_ID="<YOUR_CREDENTIAL_KEY_ID>" export DT_SERVICE_ACCOUNT_SECRET="<YOUR_CREDENTIAL_KEY_ID>" export DT_SERVICE_ACCOUNT_EMAIL="<YOUR_CREDENTIAL_KEY_ID>"
Depending on the example, additional variables like
PROJECT_ID may be required. These are listed early in the code for visibility.