Giter Site home page Giter Site logo

Comments (5)

ondrej1024 avatar ondrej1024 commented on July 24, 2024 1

This started happening to me as well yesterday. Surely it is caused by an API change on the Carelink side.
The issue is being discussed here. I don't think there is a solution yet.

from carelink-python-client.

hhuitema avatar hhuitema commented on July 24, 2024

Something has changed on Carelink.. Using the app i can now follow multiple people.
So i guess on the technical side some url's and XML messages have changed.

This might be a big problem to fix.

from carelink-python-client.

Pourbaix avatar Pourbaix commented on July 24, 2024

Ok it works now !
Just by adding the patient username to the body of the POST request it works again:
image
Replace "yourpatientusername" with the username of the patient you want data of.
NOTE: Im currently using a care partner account so I dont now if it works for other types of account.

from carelink-python-client.

ondrej1024 avatar ondrej1024 commented on July 24, 2024

I can confirm that adding the "patientId" to the data request works. So as a quick fix we might consider just adding a new parameter to the carelink_client_cli.py program where the patient Id can be specified, which is then passed on to the library.

However, a complete solution might be a bit more complex. In the xDripCareLinkFollower I see a lot of pull requests which implement the "Multi follow" feature. These would need to be ported to the carelink-python-client.

from carelink-python-client.

Pourbaix avatar Pourbaix commented on July 24, 2024

If you want to implement the 'multi-follow' feature, I think in the issue you gave me previously they talk about a route (supposedly https://carelink.minimed.eu/patient/m2m/links/patients) that recovers all the linked patients for a given partner account.
Depending on what you want to achieve, you could loop trough those usernames and make a request for each one.

Anyway, thank you for your help.

from carelink-python-client.

Related Issues (13)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.