In some cases, sensor data requires further transformation/processing. If you do it in the app, others who decompile your app can copy the implementation; if you put it behind an API, it makes it much harder.
Even thought withings is garbage for bodyfat% estimation but plenty of noobs do not understand this.