Easily access Glucose Measurement data from the FreeStyle Libre systems
-
Easy to use: Get up and running with the library in minutes
-
Actively developed: Ideas and contributions welcomed!
- Download and install Go, version 1.22+, from the official Go website.
- If you do not already have a LibreLinkUp account, create one by downloading the LibreLinkUp App from the iOS App Store or Google Play Store
Tip
To make sure that your account credentials will work with the library, you can download the bruno application or the Postman application and test the requests manually. If you choose to download and use bruno, see the ./ops/docs/bruno folder for example requests.
go get github.com/equalsgibson/golibre@v0.0.2-alpha
Below is a short example showing how to get the connections from your account
Note
Make sure to go get
the library, and set the required ENV variables (EMAIL
and PASSWORD
) before running the below example.
Lines 1 to 34 in 59176f7
Expected Output:
cgibson@wsl-ubuntuNexus:~/git/libre/golibre$ go run examples/main.go
You have 1 patients that are sharing their data with you.
-> Patient 1: ID: 12345678-1234-1234-abcd-0242ac110002
Contributions are what make the open source community such an amazing place to learn, get inspired, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git add . && git commit -am 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under a GNU License. See the LICENSE
file for more information.
Project Link: https://github.com/equalsgibson/golibre