lib/EventbriteApiConnector/Eventbrite.php
public function get($method, array $params, array $options = array())
    {
        $this->parseOptions($options);

        $params = array_merge($params, $this->apiKeys);

        $response = $this->httpAdapter->getContent(
            sprintf(self::API_ENDPOINT, $this->scheme, $this->outputFormat, $method .'?'. http_build_query($params)),
            $this->headers
        );

        return $this->responseHandler($response);
    }
public function get($method, array $params, array $options = array())
    {
        $this->parseOptions($options);

        $params = array_merge($params, $this->apiKeys);

        $response = $this->httpAdapter->getContent(
            sprintf(self::API_ENDPOINT, $this->scheme, $this->outputFormat, $method .'?'. http_build_query($params)),
            $this->headers
        );

        return $this->responseHandler($response);
    }
public function get ( $ method , array $ params , array $ options = array ( ) ) { $ this -> parseOptions ( $ options ) ; $ params = array_merge ( $ params , $ this -> apiKeys ) ; $ response = $ this -> httpAdapter -> getContent ( sprintf ( self :: API_ENDPOINT , $ this -> scheme , $ this -> outputFormat , $ method . '?' . http_build_query ( $ params ) ) , $ this -> headers ) ; return $ this -> responseHandler ( $ response ) ; }
Calls the Eventbrite API via GET

@param string $method  Eventbrite API method
@param array  $params  API method params
@param array  $options Options for calling the API like scheme, headers and output format

@return string The content
Calls the Eventbrite API via GET