Case study
mihealth-api: reconstructing Mi Fitness health-data access
mihealth-api reconstructs access to personal Mi Fitness health data from the com.mi.health client API. Its Python client implements session handling and encrypted requests, synchronizes records into SQLite, and exposes local HTTP queries and a dashboard; API notes document endpoint and field behavior.
- Targets
- App · Protocol
- Category
- Independent reconstruction cases
- Relationship
- Independent reconstruction project
- Sources reviewed
- Evidence class
- C2 code & docs, no demo or download
- Stars
- 10
- Last commit
- 2026-09-30
- Language
- Python
- License (GitHub)
- MIT
GitHub data as of 2026-11-10
Evidence
- Observed
- Code, documentation and a demo observed; no download method found.
- Checked
- 2026-11-08
Requirements & limits
- Prerequisites: Access to the user's own Mi Fitness account and valid session credentials.
- Prerequisites: Python 3.9 or later; device-based credential import requires a logged-in rooted device or emulator.
- Limits: The author's account had no GPS route or diet records, and route-file download was unavailable.
- License: MIT license.
Cite
BibTeX
@misc{mihealth-api-case,
title = {{mihealth-api: reconstructing Mi Fitness health-data access}},
howpublished = {\url{https://github.com/Aaron-gx/mihealth-api}},
url = {https://github.com/Aaron-gx/mihealth-api},
urldate = {2026-11-06},
note = {Awesome REA entry: \url{https://awesomerea.org/resources/mihealth-api-case/}}
}Plain text
mihealth-api: reconstructing Mi Fitness health-data access. https://github.com/Aaron-gx/mihealth-api (accessed 2026-11-06). Awesome REA entry: https://awesomerea.org/resources/mihealth-api-case/
Useful? Star Awesome REA on GitHub2.4k
About this entry
The description was reviewed against primary sources.
Primary sources
More in Apps
- garmin-proto-lab: reconstructing Garmin watch communication · Case study
- Dorado: reconstructing a Zune HD application runtime · Case study
- eJay: static recompilation of the Dance eJay audio engines · Case study
- vclights: reconstructing VC-BLELIGHT lamp commands · Case study
- ilo2ctl: rebuilding the HP iLO 2 remote console and controls · Case study
- gpcli: reconstructing MyGP subscriber app API flows · Case study