Retrieves a List of MappedLdapGroup objects for the specified Team.
@param team a Team object
@return a List of MappedLdapGroup objects
@since 1.4.0
768343
@SuppressWarnings("unchecked")
    public List<MappedLdapGroup> getMappedLdapGroups(final Team team) {
        final Query query = pm.newQuery(MappedLdapGroup.class, "team == :team");
        return (List<MappedLdapGroup>) query.execute(team);
    }
1058982
def members(self):
        
        resp = self._rtm_client.get('v1/current_team.members?all=true')
        if resp.is_fail():
            raise RTMServiceError(
                'Failed to get members of current team',
                resp
            )
        return resp.data['result']
491235
public Future<List<LeagueList>> getLeagues(String teamId) {
        return new ApiFuture<>(() -> handler.getLeagues(teamId));
    }
314690
def _get_team(cls, soup):
        
        team = cls.Team()
        team.team_type = soup['type']
        team.id = soup['id']
        team.name = soup['name']
        return team
268467
@Override
    public final Integer getCost(final AdvancementTeam team) {
        Integer valoration;

        checkNotNull(team, "Received a null pointer as the team");

        valoration = team.getCash();
        for (final AdvancementTeamPlayer player : team.getPlayers().values()) {
            valoration += player.getValoration();
        }

        valoration += team.getCoachingDice() * getCostDie();
        valoration += team.getDreadballCards() * getCostCard();
        valoration += team.getCheerleaders() * getCostCheerleader();

        if (team.getDefensiveCoachingStaff()) {
            valoration += getCostCoaching();
        }
        if (team.getOffensiveCoachingStaff()) {
            valoration += getCostCoaching();
        }
        if (team.getSupportCoachingStaff()) {
            valoration += getCostCoaching();
        }

        return valoration;
    }
964192
def team(self, team_id):
        
        json = None
        if int(team_id) > 0:
            url = self._build_url('teams', str(team_id))
            json = self._json(self._get(url), 200)
        return Team(json, self._session) if json else None
982714
function getTeamInfo($team, $multicall = false)
    {
        if (!is_int($team) || $team < 0 || $team > 2) {
            throw new InvalidArgumentException('team = ' . print_r($team, true));
        }

        if ($multicall) {
            return $this->execute(ucfirst(__FUNCTION__), array($team), $this->structHandler('Team'));
        }
        return Structures\Team::fromArray($this->execute(ucfirst(__FUNCTION__), array($team)));
    }
1098278
public Future<Map<String, List<LeagueItem>>> getLeagueEntries(String... teamIds) {
        return new ApiFuture<>(() -> handler.getLeagueEntries(teamIds));
    }
68059
@GET
  @Path("teams")
  public Response authorizedTeams(@HeaderParam("Authorization") @DefaultValue("no token") String auth) throws Exception {
    if(!this.isAuth(auth)) {
      return Response.status(Status.FORBIDDEN).build();
    }
    Integer teams[] = getAuthorizedTeams();
    return Response.ok(new Gson().toJson(teams), MediaType.APPLICATION_JSON).build();
  }
1174462
@Override
    public List<Team>  getTeamsByCollector(ObjectId collectorId) {
        List<Team> teams = teamRepository.findByCollectorId(collectorId);

        return teams;
    }
932084
public function listTeams(string $org): array
    {
        return $this->getApi()->request($this->getApi()->sprintf('/orgs/:org/teams', $org));
    }
1313845
public Range<TeamApp> listTeamApps(String team) {
        return connection.execute(new TeamAppList(team), apiKey);
    }
45702
def team(self, team, simple=False):
        
        return Team(self._get('team/%s%s' % (self.team_key(team), '/simple' if simple else '')))
429841
def team_profiles(self, team):
        
        return [Profile(raw) for raw in self._get('team/%s/social_media' % self.team_key(team))]
1267156
public Team getTeam() throws HelloSignException {
        return new Team(httpClient.withAuth(auth).get(BASE_URI + TEAM_URI).asJson());
    }
353727
def list(self, teamId=None, rType=None, maxResults=C.MAX_RESULT_DEFAULT, limit=C.ALL):
    
    queryParams = {'teamId': teamId,
            'type': rType,
            'max': maxResults}
    queryParams = self.clean_query_Dict(queryParams)
    ret = self.send_request(C.GET, self.end, data=queryParams, limit=limit)
    return [Room(self.token, roomData) for roomData in ret['items']]
1132536
def teams(self):
        """"""
        teams = {}
        default_team = 1
        for i in range(1, self._header.replay.num_players):
            attributes = self._header.initial.players[i].attributes
            team = self._header.lobby.teams[i - 1]
            if team == 1:
                team = default_team
                default_team += 1
            if team not in teams:
                teams[team] = {'player_numbers': []}
            teams[team]['player_numbers'].append(attributes.player_color + 1)
        return list(teams.values())