Skip to content

Instantly share code, notes, and snippets.

@yamadaaaaaaa
Created June 8, 2018 00:07
Show Gist options
  • Save yamadaaaaaaa/ae3226dacc42a3a7d2cc04c896990817 to your computer and use it in GitHub Desktop.
Save yamadaaaaaaa/ae3226dacc42a3a7d2cc04c896990817 to your computer and use it in GitHub Desktop.
SG_sample6
# -*- coding: utf-8 -*-
import shotgun_api3
sg = shotgun_api3.Shotgun('https://test.shotgunstudio.com', script_name='test_tool', api_key='0a1b2c3d4e5f9g7h8i9j')
result = sg.find('HumanUser',[['sg_status_list', 'is', 'act']],['login', 'name'])
print(result)
sg.close()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment