Skip to content

sealbro/dotnet.garmin.connect

Repository files navigation

Garmin.Connect

Unofficial dotnet garmin connect client

Build NuGet Version NuGet Downloads

About

This package allows you to request your device, activity and health data from your Garmin Connect account.

WARNING! Use the library only for personal automation without too many accounts. For other needs request access to the developer program.

Installation

dotnet add package Unofficial.Garmin.Connect

Using

var login = "<garmin login>";
var password = "<garmin password>";
var authParameters = new BasicAuthParameters(login, password);

var client = new GarminConnectClient(new GarminConnectContext(new HttpClient(), authParameters));

Build and publish

  • build ./pack.sh
  • pack ./publish.sh

Tests

  • set environment variables GARMIN_LOGIN and GARMIN_PASSWORD
    • JB Rider File | Settings | Build, Execution, Deployment | Unit Testing | Test Runner

Thanks