YtoTech / libreview-data-export

Export device readings from LibreView API
MIT License
30 stars 14 forks source link

⚠️ This project is archived: I don't use it anymore, I'm sorry I can't help with requests. ⚠️

➡️ Please feel free to fork and take up the torch. Good luck!

LibreView data export

Export device readings from LibreView API to a CSV file.

Getting started

Install dependencies with Pipenv:

pipenv install

Create a configuration file settings.json from the sample:

cp settings.sample.json settings.json

Replace the api_token in the configuration file by your API token.

Note: there is no direct access to API tokens on the UI; you can login and use your browser Web Developer Network panel to search for a Bearer token on Authorization request header to api.libreview.io.

Launch your first export:

pipenv run python export-data.py

This will export the data to export-output.json.