Want to list all existing projects in ShotGun

I am a bit new to ShotGrid API coding… I want to list all the existing projects in ShotGrid…Can someone help me out with this???

Hi @PushpendraTiwari !

To list everything you can just give an empty list to the filter parameter of the find method:

import shotgun_api3

sg = shotgun_api3.Shotgun(<enter your authentication details here>)

print(sg.find("Project", []))

Hope that helps :slightly_smiling_face:

Yup…working…THANKS A LOT

1 Like