The Xiaomi Cloud-ML project exposes the API access interface. The full functionality of the Xiaomi Cloud-ML service can be accessed via the APIs, SDKs, or command-line tools.
https://docs.api.xiaomi.com/en/cloud-ml/api/docs.html
参考資料;
https://www.freemyband.com/ -- A list of tutorials to show you how to obtain your Mi Band and Amazfit auth key code to connect any app to your band. This site and related tutorials are no way associated with Xiaomi or Amazfit.
https://dev.mi.com/docs/passport/open-api/ -- 小米帐号开放API
https://dev.to/neuronmachine/export-mi-fit-data-to-google-sheets-2ed4
https://blog.csdn.net/b735098742/article/details/72911890 - 小米手环iOS开发实战(一):iOS蓝牙框架CoreBluetooth
https://blog.csdn.net/b735098742/article/details/72930429 - 小米手环iOS开发实战(二):开发Demo让你的手环振动起来