public function get($endpoint, array $parameters = array())
    {
        if (!empty($parameters)) {
            $path = sprintf("%s/?%s", $endpoint, http_build_query($parameters));
        } else {
            $path = $endpoint;
        }

        return $this->execute("GET", sprintf("%s%s", $this->host, $path));
    }
public function get($endpoint, array $parameters = array())
    {
        if (!empty($parameters)) {
            $path = sprintf("%s/?%s", $endpoint, http_build_query($parameters));
        } else {
            $path = $endpoint;
        }

        return $this->execute("GET", sprintf("%s%s", $this->host, $path));
    }
public function get ( $ endpoint , array $ parameters = array ( ) ) { if ( ! empty ( $ parameters ) ) { $ path = sprintf ( "%s/?%s" , $ endpoint , http_build_query ( $ parameters ) ) ; } else { $ path = $ endpoint ; } return $ this -> execute ( "GET" , sprintf ( "%s%s" , $ this -> host , $ path ) ) ; }
Make a get request to the given endpoint

@access public
@param  string   $endpoint
@param  array    $parameters
@return Response
Make a get request to the given endpoint