A client for the Abbott LibreLinkUp API
Project description
pylibrelinkup
pylibrelinkup
is a Python client for the LibreLinkUp API, which allows you to interact with the LibreLinkUp service to retrieve glucose data and other related information. This project is a Python implementation inspired by the libre-link-up-api-client project.
Installation
To install pylibrelinkup
, you can use pip
:
pip install pylibrelinkup
Usage
Initialization
First, you need to import the necessary modules, initialize the client, and authenticate with your LibreLinkUp credentials:
from pylibrelinkup.client import LibreLinkUpClient
client = LibreLinkUpClient(username='your_username', password='your_password')
client.authenticate()
Getting Patient List
You can fetch the patient list using the get_patient_list
method:
patient_list = client.get_patient_list()
print(patient_list)
Getting Patient data
Retrieve patient data using the get_graph_data
method:
patient = client.get_patient_list()[0]
patient_data = client.get_graph_data(patient_id=patient.patient_id)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pylibrelinkup-0.0.1.tar.gz
(8.8 kB
view hashes)
Built Distribution
Close
Hashes for pylibrelinkup-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fa093939939bdbb6c19dac0eb33276c9cebe35874c23fa41538c0dc9479b42da |
|
MD5 | aad6e925cc0d669ff3d36f1ac6bc17d4 |
|
BLAKE2b-256 | 2b232c4950678e4eacdf46bfb504fe67c33f679ce34dea49f257d0f9b0ad9b3c |