Giter Site home page Giter Site logo

susoinc / mi-fit-and-zepp-workout-exporter Goto Github PK

View Code? Open in Web Editor NEW

This project forked from rolandsz/mi-fit-and-zepp-workout-exporter

0.0 0.0 0.0 70 KB

A Python script which allows users to export workout data from Mi Fit and Zepp applications.

Home Page: https://rolandszabo.com/reverse-engineering/mi-fit/export-mi-fit-and-zepp-workout-data

License: MIT License

Python 100.00%

mi-fit-and-zepp-workout-exporter's Introduction

Mi Fit and Zepp workout exporter

This repository contains an example Python implementation for the article.

Environment setup

pip install -r requirements.txt

Usage

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]

Acknowledgements

The latitude/longitude parsing is based on Miroslav Bendík's MiFitDataExport project.

How to get a token

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

Steps to get a token

  1. Open this link
  2. Choose "Export data"
  3. Sign in to your zepp account
  4. Again choose "Export data"
  5. Open Google inspector
  6. Choose Network
  7. Select any field to export
  8. Fill in the email and verification code
  9. After completion, you will be taken to the last page with success
  10. Explore the network and find the process name dataExportation
  11. Look for the apptoken field

mi-fit-and-zepp-workout-exporter's People

Contributors

k0rsakov avatar rastos avatar rolandsz avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.