Environment variables

The following is a consolidated list of environment variables that this API can reference:

FTRACK_SERVER

The full url of the ftrack server to connect to. For example “http://mycompany.ftrackapp.com

FTRACK_API_USER

The username of the ftrack user to act on behalf of when performing actions in the system.

Note

When this environment variable is not set, the API will typically also check other standard operating system variables that hold the username of the current logged in user. To do this it uses getpass.getuser().

FTRACK_API_KEY

The API key to use when performing actions in the system. The API key is used to determine the permissions that a script has in the system.

FTRACK_APIKEY

For backwards compatibility. See FTRACK_API_KEY.

FTRACK_EVENT_PLUGIN_PATH

Paths to search recursively for plugins to load and use in a session. Multiple paths can be specified by separating with the value of os.pathsep (e.g. ‘:’ or ‘;’).