protected function getRequest($data, $fields, $verb)
    {
        $params = [
            'q' => $data,
            'api_key' => $this->apiKey,
            'fields' => implode(',', $fields)
        ];

        $response = $this->client->get($verb, [
            'query' => $params
        ]);

        return $this->checkResponse($response);
    }
protected function getRequest($data, $fields, $verb)
    {
        $params = [
            'q' => $data,
            'api_key' => $this->apiKey,
            'fields' => implode(',', $fields)
        ];

        $response = $this->client->get($verb, [
            'query' => $params
        ]);

        return $this->checkResponse($response);
    }
protected function getRequest ( $ data , $ fields , $ verb ) { $ params = [ 'q' => $ data , 'api_key' => $ this -> apiKey , 'fields' => implode ( ',' , $ fields ) ] ; $ response = $ this -> client -> get ( $ verb , [ 'query' => $ params ] ) ; return $ this -> checkResponse ( $ response ) ; }
Call Guzzle with Get Request

@param  string $data Address Data
@param  string $verb The method being called - geocode, parse, or reverse
@return GuzzleHttp\Psr7\Response
Call Guzzle with Get Request