Undocumented Shotgun API method "Shotgun.following(entity)"

Hi,

First post here, so i figured it could just as well be something useful.

I would just like to notify shotgun developers that they have an undocumented method “Shotgun.following()” which takes an entity as an argument and returns a list of dictionaries representing entities followed by the specified entity.

Useful for when you want to retrieve a list of “stuff” followed by the user, for example, but had i not checked the code directly, this info would have been much harder to get…

Cheers,
Aleksandar

8 Likes

Thanks for pointing that out, Aleksandar! I’m flagging this with the docs team to get that remedied. Something useful like that should not be hidden!

3 Likes

Ah nice! There are few users on this old feature request would love to hear about this https://support.shotgunsoftware.com/hc/en-us/community/posts/209479628-See-a-list-of-all-the-things-I-m-following

There is still no way to access this in shotgun web thought right?

2 Likes

Unfortunately, there’s still no way to have it in shotgun web, Luke. This was confirmed to me by shotgun support a week ago.

Cheers,
Aleksandar

2 Likes

Hi Aleksander,

Thank you for pointing out the gap in our documentation.

I’ve now updated the docs to refer to this method:
https://developer.shotgunsoftware.com/python-api/reference.html#shotgun_api3.shotgun.Shotgun.following

Cheers,
Neil

4 Likes