I found some of my tools disappear in "ftrack Connect-2.0.0rc3" due to unable to find "ftrack_connect.application" module. Most of them are application hooks since I need "ftrack_connect.application.ApplicationStore" and "ftrack_connect.application.ApplicationLauncher" in it. I'm a bit confused by the difference of "ftrack-connect-package-1.1.2" and "ftrack Connect-2.0.0rc3". Are they difference things ?
I made a tool for exploring the API a while back (just remembered to post here after catching a few errors earlier this week), as I was a bit fed up of my old process which was like this:
>>> user = session.query('User').first()
>>> print(user.keys()) # Look for a key related to groups
>>> print(user['memberships']) # Perhaps this, check if entity or list
>>> print(user['memberships'][0].keys()) # It's a list, check what each item has available
>>> print(user['memberships'][0]['group'].keys()) # I see group, what keys does that have
>>> print(user['memberships'][0]['group']['name']) # Found what I needed (random example though, I've never actually needed this)
>>> user_groups = [membership['group']['name'] for membership in user['memberships']]
I find myself loading it now whenever I'm coding something that I'm unfamiliar with, so just sharing here in case anyone else would find it useful.
https://github.com/huntfx/ftrack-api-explorer