Retrieves teams mapped by team ID for a given list of team IDs. (REST)

@param {String} summonerId
@param {Object} options
@param {Function(!Error, Object)} callback
346711
function(teamIds, vars, cb) {
        app.talk('api/lol/' + app.settings.region + '/v2.4/team/' + teamIds, vars, cb, app.settings.region)
    }
42704
@RequestMapping(value = "/team/{teamId}", method = GET, produces = APPLICATION_JSON_VALUE)
    public DataResponse<Team> team(
            @RequestParam(value = "component", required = true) String cId,
            @PathVariable String teamId) {
        ObjectId componentId = new ObjectId(cId);
        return this.teamService.getTeam(componentId, teamId);
    }
486632
@Override
    public Page<Team> getTeamByCollectorWithFilter(ObjectId collectorId, String teamName, Pageable pageable) {
        Page<Team> teams = teamRepository.findAllByCollectorIdAndNameContainingIgnoreCase(collectorId,teamName,pageable);
        return teams;
    }
314690
def _get_team(cls, soup):
        
        team = cls.Team()
        team.team_type = soup['type']
        team.id = soup['id']
        team.name = soup['name']
        return team
118017
function players (resp) {
  return base(resp).map(function (player) {
    var names = player.displayLastCommaFirst.split(", ").reverse();
    return {
      firstName: names[0].trim(),
      lastName: (names[1] ? names[1] : "").trim(),
      playerId: player.personId,
      teamId: player.teamId,
    };
  });
}
830008
@SuppressWarnings("unchecked")
    public MappedLdapGroup getMappedLdapGroup(final Team team, final String dn) {
        final Query query = pm.newQuery(MappedLdapGroup.class, "team == :team && dn == :dn");
        final List<MappedLdapGroup> result = (List<MappedLdapGroup>) query.execute(team, dn);
        return Collections.isEmpty(result) ? null : result.get(0);
    }
90032
def load_from_id(gid)
      @gid = gid
      @xml_data = GamedayFetcher.fetch_eventlog(gid)
      @xml_doc = REXML::Document.new(@xml_data)
      if @xml_doc.root
        set_teams
        set_events
      end
    end
114969
def users(self, team, params={}, **options): 
        
        path = "/teams/%s/users" % (team)
        return self.client.get_collection(path, params, **options)
719884
@Override
    public List<Team> getTeams() {
        List<Team> result = new ArrayList<>();
        try {
            String url = featureSettings.getJiraBaseUrl() + (featureSettings.getJiraBaseUrl().endsWith("/") ? "" : "/")
                    + TEMPO_TEAMS_REST_SUFFIX;
            ResponseEntity<String> responseEntity = makeRestCall(url);
            String responseBody = responseEntity.getBody();
            JSONArray teamsJson = (JSONArray) parser.parse(responseBody);
            if (teamsJson != null) {
                for (Object obj : teamsJson) {
                    JSONObject jo = (JSONObject) obj;
                    String teamId = getString(jo, "id");
                    String teamName = getString(jo, "name");
                    Team team = new Team(teamId, teamName);
                    team.setChangeDate("");
                    team.setTeamType("");
                    team.setAssetState("Active");
                    team.setIsDeleted("False");
                    result.add(team);
                }
            }
        } catch (ParseException pe) {
            LOGGER.error("Parser exception when parsing teams", pe);
        } catch (HygieiaException e) {
            LOGGER.error("Error in calling JIRA API", e);
        }
        return result;
    }
1098278
public Future<Map<String, List<LeagueItem>>> getLeagueEntries(String... teamIds) {
        return new ApiFuture<>(() -> handler.getLeagueEntries(teamIds));
    }
664287
public function getTeamsFromTeamSet($teamSetId)
    {
        require_once('modules/Teams/TeamSetManager.php');
        $teams = \TeamSetManager::getTeamsFromSet($teamSetId);

        // Fetch more details from the team
        foreach ($teams as $key => $team) {
            $teamFields = $this->sugarBean->getBean('Teams', $team['id'])->fetched_row;
            $teams[$key] = array_merge($team, $teamFields);
        }

        return $teams;
    }
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']]
1211519
def get_event_teams(self, id, **data):
        
        
        return self.get("/events/{0}/teams/".format(id), data=data)
1109209
public Future<Map<Long, List<RankedTeam>>> getTeams(long... ids) {
        return new ApiFuture<>(() -> handler.getTeamsBySummoners(ids));
    }
665573
function(teamId, req) {
        const favoritesList = req.app.locals.favoritesList
        const index = favoritesList.findIndex(t => t.id == teamId)
        if(index < 0) {
            const err = new Error('Team is not parte of Favorites!!!')
            err.status = 409
            throw err
        }
        favoritesList.splice(index, 1)
    }
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
1233210
public function GetTeamInfoByTeamIDV1($start_at_team_id = null, $teams_requested = null)
    {
        return $this->_call(__METHOD__, 'GET', array('start_at_team_id' => $start_at_team_id, 'teams_requested' => $teams_requested));
    }