So was wondering the best way to make events not only link to the script and key used to enter data but also possibly link each event to the corrisponding user if possible. Attached is a sample of a piece of one of our custom tools.
# -----------------------------------------------------------------------------
SERVER_PATH = <Server>
API_VERSION = 'api2'
SCRIPT_USER = <Script User>
SCRIPT_KEY = <Script Key>
OBSERVER_INTERVAL = 1
# -----------------------------------------------------------------------------
sg = Shotgun(SERVER_PATH, SCRIPT_USER, SCRIPT_KEY)
Is it possible to include some values for the 'entity' field like:
{'type' : 'HumanUser', 'id' : userData[181] }
If so how do I go about linking the events to users?
-Romey
07-14-2010 (kp) Updated title to be more descriptive