{
  "added_at": "2026-11-08",
  "additional_evidence_urls": [
    "https://github.com/Aaron-gx/mihealth-api/blob/05edd1308025795e124f8958b20f8408c41b1c82/API.md"
  ],
  "category": "reconstruction-cases",
  "class": "apps",
  "description_en": "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.",
  "description_zh": "mihealth-api 根据对 com.mi.health 客户端接口的研究，重建个人 Mi Fitness 健康数据访问方式。Python 客户端处理会话及加密请求，将记录同步至 SQLite，并提供本地 HTTP 查询和看板；接口文档记录端点及字段行为。",
  "entry_url": "https://awesomerea.org/resources/mihealth-api-case/",
  "entry_url_zh": "https://awesomerea.org/zh/resources/mihealth-api-case/",
  "evidence_class": 2,
  "evidence_status": "observed",
  "evidence_url": "https://github.com/Aaron-gx/mihealth-api/blob/05edd1308025795e124f8958b20f8408c41b1c82/README.md",
  "group": "cases",
  "id": "mihealth-api-case",
  "json_url": "https://awesomerea.org/resources/mihealth-api-case/record.json",
  "kind": "case-study",
  "markdown_url": "https://awesomerea.org/resources/mihealth-api-case/index.md",
  "markdown_url_zh": "https://awesomerea.org/zh/resources/mihealth-api-case/index.md",
  "name": "mihealth-api: reconstructing Mi Fitness health-data access",
  "name_zh": "mihealth-api：重建 Mi Fitness 健康数据访问",
  "record_type": "resource",
  "relationship": "independent-reconstruction",
  "requirement_facets": [
    "prerequisites",
    "prerequisites",
    "limits",
    "license"
  ],
  "requirements": [
    "Access to the user's own Mi Fitness account and valid session credentials.",
    "Python 3.9 or later; device-based credential import requires a logged-in rooted device or emulator.",
    "The author's account had no GPS route or diet records, and route-file download was unavailable.",
    "MIT license."
  ],
  "requirements_zh": [
    "需要用户自己的 Mi Fitness 账号及有效会话凭据。",
    "需要 Python 3.9 或更新版本；从设备导入凭据需已登录的 root 设备或模拟器。",
    "作者账号没有 GPS 轨迹或饮食记录，轨迹文件下载也尚不可用。",
    "采用 MIT 许可证。"
  ],
  "scope": "unknown",
  "targets": [
    "app",
    "protocol"
  ],
  "url": "https://github.com/Aaron-gx/mihealth-api",
  "verification": "source-reviewed",
  "verified_at": "2026-11-06"
}
