Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jaywink/google-fit-to-nextcloud-health-importer

Python script to generate SQL for importing Google Fit weight data to Nextcloud Health
https://github.com/jaywink/google-fit-to-nextcloud-health-importer

google-fit nextcloud nextcloud-health

Last synced: 22 days ago
JSON representation

Python script to generate SQL for importing Google Fit weight data to Nextcloud Health

Awesome Lists containing this project

README

        

# Google Fit to Nextcloud Health importer

Python script to generate SQL for importing weight data from
Google Fit to Nextcloud Health.

## Usage

Create a takeout from Google Fit.

Identify and download the Google Fit file, naming it `fit.json` for example.

Create a Python virtualenv and install the requirements in `requirements.txt`.

Access your Nextcloud database and find your person ID from the table
`oc_health_persons`.

Run script:

```bash
python create_import_weight_sql.py > output.sql
```

The `output.sql` will now hopefully contain a list of insert statements.
Copy this to your Nextcloud database server and run the SQL.

## License

MIT