public function getTeam($name)
    {
        if (!is_string($name)) {
            throw new InvalidTypeException('Name', 'string', gettype($name));
        }

        return $this->get(sprintf('teams/%s', $name));
    }
public function getTeam($name)
    {
        if (!is_string($name)) {
            throw new InvalidTypeException('Name', 'string', gettype($name));
        }

        return $this->get(sprintf('teams/%s', $name));
    }
public function getTeam ( $ name ) { if ( ! is_string ( $ name ) ) { throw new InvalidTypeException ( 'Name' , 'string' , gettype ( $ name ) ) ; } return $ this -> get ( sprintf ( 'teams/%s' , $ name ) ) ; }
Get a team by name

@param string $name
@throws InvalidTypeException
@return array|json
Get a team by name