title: Get data from woocommerce client object
body: <p>I am trying to work with the WooCommerce REST API. So far I have installed the official package and created an <code>index.php</code> file with this code in it:</p>
  
  <pre><code>require __DIR__ . '/vendor/autoload.php';
  
  use Automattic\WooCommerce\Client;
  
  use Automattic\WooCommerce\HttpClient\HttpClientException;
  
  $woocommerce = new Client(
      'http://me.commerce.loc/', // Your store URL
      'ck_9dadcf73d58fec8b0860bced4b0997d7b3b0f93e', // Your consumer key
      'cs_e63d694c035444c45355339171c682052b2707eb', // Your consumer secret
      [
          'wp_api' =&gt; true, // Enable the WP REST API integration
          'version' =&gt; 'wc/v3' // WooCommerce WP REST API version
      ]
  );
  
  print "&lt;pre&gt;";
  
  print_r($woocommerce);
  die();
  </code></pre>
  
  <p>Printing out <code>$woocommerce</code> gives me this object:</p>
  
  <pre><code>Automattic\WooCommerce\Client Object
  (
      [http] =&gt; Automattic\WooCommerce\HttpClient\HttpClient Object
          (
              [ch:protected] =&gt; 
              [url:protected] =&gt; http://me.commerce.loc/wp-json/wc/v3/
              [consumerKey:protected] =&gt; ck_9dadcf73d58fec8b0860bced4b0997d7b3b0f93e
              [consumerSecret:protected] =&gt; cs_e63d694c035444c45355339171c682052b2707eb
              [options:protected] =&gt; Automattic\WooCommerce\HttpClient\Options Object
                  (
                      [options:Automattic\WooCommerce\HttpClient\Options:private] =&gt; Array
                          (
                              [wp_api] =&gt; 1
                              [version] =&gt; wc/v3
                          )
  
                  )
  
              [request:Automattic\WooCommerce\HttpClient\HttpClient:private] =&gt; 
              [response:Automattic\WooCommerce\HttpClient\HttpClient:private] =&gt; 
              [responseHeaders:Automattic\WooCommerce\HttpClient\HttpClient:private] =&gt; 
          )
  
  )
  </code></pre>
  
  <p>Is it possible to get wooCommerce data through this object? If no then how can I do it?</p>
  
  <p>Thank you very much.</p>