Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions boxsdk/client/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,21 @@ def group(self, group_id):
"""
return Translator().translate('group')(session=self._session, object_id=group_id)

def collaboration(self, collab_id):
"""
Initialize a :class:`Collaboration` object, whose box id is collab_id.

:param collab_id:
The box id of the :class:`Collaboration` object.
:type collab_id:
`unicode`
:return:
A :class:`Collaboration` object with the given group id.
:rtype:
:class:`Collaboration`
"""
return Translator().translate('collaboration')(session=self._session, object_id=collab_id)

def users(self, limit=None, offset=0, filter_term=None):
"""
Get a list of all users for the Enterprise along with their user_id, public_name, and login.
Expand Down