code: 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();
      }
docs: Get Response from API
  Response is an array (Result of json_decode)
  
  @param string $uri API URI
  @param array $queryParams Query params
  @return mixed