Services/Zencoder.php
public function retrieveData($path, array $params = array(), array $opts = array())
    {
        return empty($params)
            ? $this->_processResponse($this->http->get($this->_getApiPath($opts) . $path))
            : $this->_processResponse(
                $this->http->get($this->_getApiPath($opts) . $path . "?" . http_build_query($params, '', '&'))
            );
    }
public function retrieveData($path, array $params = array(), array $opts = array())
    {
        return empty($params)
            ? $this->_processResponse($this->http->get($this->_getApiPath($opts) . $path))
            : $this->_processResponse(
                $this->http->get($this->_getApiPath($opts) . $path . "?" . http_build_query($params, '', '&'))
            );
    }
public function retrieveData ( $ path , array $ params = array ( ) , array $ opts = array ( ) ) { return empty ( $ params ) ? $ this -> _processResponse ( $ this -> http -> get ( $ this -> _getApiPath ( $ opts ) . $ path ) ) : $ this -> _processResponse ( $ this -> http -> get ( $ this -> _getApiPath ( $ opts ) . $ path . "?" . http_build_query ( $ params , '' , '&' ) ) ) ; }
GET the resource at the specified path.

@param string $path   Path to the resource
@param array  $params Query string parameters
@param array  $opts   Optional overrides

@return object The object representation of the resource
GET the resource at the specified path .