afilipko / libreview-data-export

Export device readings from LibreView API

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

Export device readings from LibreView API

License:MIT License


Languages

Language:Python 95.0%Language:Makefile 5.0%