Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/jaywink/google-fit-to-nextcloud-health-importer
- Owner: jaywink
- Created: 2021-03-28T20:27:46.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2021-03-28T20:28:10.000Z (over 3 years ago)
- Last Synced: 2024-10-04T18:56:37.369Z (about 1 month ago)
- Topics: google-fit, nextcloud, nextcloud-health
- Language: Python
- Homepage:
- Size: 1000 Bytes
- Stars: 7
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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