title: Reading weight with Google Fit
body: <p>I can connect to Google Fit and read weight data but not all the data that I can see in Google Fit Web. I believe that something is wrong with datasources but I'm not sure. The code for reading is:</p>
  
  <pre><code>Instant endTime = Instant.now();
  Instant startTime = DateTime.now().minusYears(10).toInstant();
  
  DataReadRequest readRequest = new DataReadRequest.Builder ()
          .setTimeRange (startTime.getMillis(), endTime.getMillis(), TimeUnit.MILLISECONDS)
          .read (DataType.TYPE_WEIGHT)
          .build ();
  
  DataReadResult dataReadResult = Fitness.HistoryApi.readData(MyApp.mClient, readRequest).await (1, TimeUnit.MINUTES);
  </code></pre>