Python script that queries Shotgrid fields sg_cut_duration, sg_ip_versions and sg_latest_version for a given project ID without knowing the query fields filter conditions in advance.
- Create virtual env with required version
python 3.11 -m venv venv
- Activate venv source
venv/bin/activate
- Install required packages
pip install -r requirements.txt
- Create separate connection.py file to connect to the Shotgrid site and access the script using the following format:
shotgun_url = "your_shotgun_url"
script_name = "your_script_name"
api_key = "your_api_key"
Running the script will create an output.html file in the same folder where the script lives that can be opened in a browser and will display all of the results for sg_cut_duration, sg_ip_versions and sg_latest_version in a table.
