Experimental C# library for retrieving data from Medtronic CareLink™.
This project is intended for educational and informational purposes only. It relies on a series of fragile components and assumptions, any of which may break at any time. It is not FDA approved and should not be used to make medical decisions. It is neither affiliated with nor endorsed by Medtronic, and may violate their Terms of Service. Use of this code is without warranty or formal support of any kind.
- Use the CareLinkService as an example.
- It needs initial valid access token and expiration time obtained by manual.
- Login to the CareLink portal.
- In Google Chrome, open the Developer Tools window (right click and Inspect).
- Application tab -> Cookies
auth_tmp_token
is the token.c_token_valid_to
is the token's expiration time.
- Guidelines for using HttpClient
- IHttpClientFactory with .NET
- Make HTTP requests using IHttpClientFactory in ASP.NET Core
- Use IHttpClientFactory to implement resilient HTTP requests
- Stop using the HttpClient the wrong way in .NET
- The Secret HttpClient Feature You Need To Use in .NET
- You are mocking the HttpClient the wrong way
- How to write custom converters for JSON serialization
- How to use source generation in System.Text.Json
This project is based on other projects: