`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](https://github.com/DiaKEM/libre-link-up-api-client) project.
When the API requires that terms of use need to be accepted, the client currently raises an AuthenticationError, which isn't helpful.
The unofficial API docs suggest that the endpoint to hit to accept these terms is {API_DOMAIN}/auth/continue/tou which does not seem to work and returns a 404.
In the meantime, the client should handle the situation more gracefully, and assist the user by suggesting the workaround of logging out of the mobile application and logging back in. This will allow them to accept those terms and restore normal operation.
When the API requires that terms of use need to be accepted, the client currently raises an
AuthenticationError
, which isn't helpful.The unofficial API docs suggest that the endpoint to hit to accept these terms is
{API_DOMAIN}/auth/continue/tou
which does not seem to work and returns a 404.In the meantime, the client should handle the situation more gracefully, and assist the user by suggesting the workaround of logging out of the mobile application and logging back in. This will allow them to accept those terms and restore normal operation.