This repository contains an example Python implementation for the article.
pip install -r requirements.txt
The script downloads all workout data and stores them in the output directory with the specified format.
python3 main.py [-h] [-e ENDPOINT] -t TOKEN [-f {gpx,geojson,gpkg,parquet,shp,csv,json,xlsx,sql,xml,html}] [-o OUTPUT_DIRECTORY]
The latitude/longitude parsing is based on Miroslav Bendík's MiFitDataExport project.
The issue discussed the problem with the acquisition of the token. In this issue, there was a suggestion how to get a token through the web
- Open this link
- Choose "Export data"
- Sign in to your zepp account
- Again choose "Export data"
- Open Google inspector
- Choose
Network
- Select any field to export
- Fill in the email and verification code
- After completion, you will be taken to the last page with success
- Explore the
network
and find the process namedataExportation
- Look for the
apptoken
field