src/Client.php
public function get($url, array $params = [])
    {
       $queryString = '?' . http_build_query($params);

       $url = $url . $queryString;

       $request = new Request(
            $url,
            'GET'
        );

        return $this->send($request);
    }
public function get($url, array $params = [])
    {
       $queryString = '?' . http_build_query($params);

       $url = $url . $queryString;

       $request = new Request(
            $url,
            'GET'
        );

        return $this->send($request);
    }
public function get ( $ url , array $ params = [ ] ) { $ queryString = '?' . http_build_query ( $ params ) ; $ url = $ url . $ queryString ; $ request = new Request ( $ url , 'GET' ) ; return $ this -> send ( $ request ) ; }
Takes a URL and a key=>value array to generate a GET PSR-7 request object

@param string $url The URL to make a request to
@param array $params Key=>Value array of data to use as the query string
@return \Psr\Http\Message\ResponseInterface
Takes a URL and a key = > value array to generate a GET PSR - 7 request object