src/Snide/VersionEye/Client.php
protected function getResponse($method = 'get', $uri, array $queryParams = array(), $postFiles = array())
    {
        $request = $this->httpClient->$method($uri.'?api_key='.$this->apiKey, array(), array('query' => $queryParams));

        if(!empty($postFiles)) {
            $request->addPostFiles($postFiles);
        }

        return $request->send()->json();
    }
protected function getResponse($method = 'get', $uri, array $queryParams = array(), $postFiles = array())
    {
        $request = $this->httpClient->$method($uri.'?api_key='.$this->apiKey, array(), array('query' => $queryParams));

        if(!empty($postFiles)) {
            $request->addPostFiles($postFiles);
        }

        return $request->send()->json();
    }
protected function getResponse ( $ method = 'get' , $ uri , array $ queryParams = array ( ) , $ postFiles = array ( ) ) { $ request = $ this -> httpClient -> $ method ( $ uri . '?api_key=' . $ this -> apiKey , array ( ) , array ( 'query' => $ queryParams ) ) ; if ( ! empty ( $ postFiles ) ) { $ request -> addPostFiles ( $ postFiles ) ; } return $ request -> send ( ) -> json ( ) ; }
Get Response from API
Response is an array (Result of json_decode)

@param string $uri API URI
@param array $queryParams Query params
@return mixed
Get Response from API Response is an array ( Result of json_decode )