public function get($apiMethod, $parameters = [])
    {
        $requestUrl = $this->buildUrl($apiMethod, $parameters);
        $requestUrl = urldecode($requestUrl);

        $response   = $this->getHttpClient()->get($requestUrl);

        return $this->handleResponse($response);
    }
public function get($apiMethod, $parameters = [])
    {
        $requestUrl = $this->buildUrl($apiMethod, $parameters);
        $requestUrl = urldecode($requestUrl);

        $response   = $this->getHttpClient()->get($requestUrl);

        return $this->handleResponse($response);
    }
public function get ( $ apiMethod , $ parameters = [ ] ) { $ requestUrl = $ this -> buildUrl ( $ apiMethod , $ parameters ) ; $ requestUrl = urldecode ( $ requestUrl ) ; $ response = $ this -> getHttpClient ( ) -> get ( $ requestUrl ) ; return $ this -> handleResponse ( $ response ) ; }
Send a GET request.

@param string $apiMethod
@param array  $parameters

@return object
Send a GET request .