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)));
    }