Team#
- SAClient.get_team_metadata()#
Returns team metadata
- Returns:
team metadata
- Return type:
dict
- SAClient.get_integrations()#
Get all integrations per team
- Returns:
metadata objects of all integrations of the team.
- Return type:
list of dicts
- SAClient.invite_contributors_to_team(emails, admin=False)#
Invites contributors to the team.
- Parameters:
emails (list) – list of contributor emails
admin (bool) – enables admin privileges for the contributor
- Returns:
lists of invited, skipped contributors of the team
- Return type:
tuple (2 members) of lists of strs
- SAClient.search_team_contributors(email=None, first_name=None, last_name=None, return_metadata=True)#
Search for contributors in the team
- Parameters:
email (str) – filter by email
first_name (str) – filter by first name
last_name (str) – filter by last name
return_metadata (bool) – return metadata of contributors instead of names
- Returns:
metadata of found users
- Return type:
list of dicts