Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/andgineer/garmin-daily

Fill Google Sheets with data from Garmin Connect
https://github.com/andgineer/garmin-daily

garmin google google-sheets python

Last synced: 3 months ago
JSON representation

Fill Google Sheets with data from Garmin Connect

Awesome Lists containing this project

README

        

[![Build Status](https://github.com/andgineer/garmin-daily/workflows/Test/badge.svg)](https://github.com/andgineer/garmin-daily/actions)
[![Coverage](https://raw.githubusercontent.com/andgineer/garmin-daily/python-coverage-comment-action-data/badge.svg)](https://htmlpreview.github.io/?https://github.com/andgineer/garmin-daily/blob/python-coverage-comment-action-data/htmlcov/index.html)
# Fill Google Sheets with data from Garmin Connect

![garmin-daily.png](https://andgineer.github.io/garmin-daily/en/garmin-daily.png)

## User manual

[garmin-daily](https://andgineer.github.io/garmin-daily/en/)

## Developers
### Codebase structure
[Auto-generated reference](https://andgineer.github.io/garmin-daily/docstrings/).

#### Usage example
```python
daily = GarminDaily()
daily.login()
day = daily[datetime.date(2023, 4, 15)]
print(day.total_steps)
```

### Create / activate environment
. ./activate.sh

It will also install the package in [edit mode](https://realpython.com/what-is-pip/#installing-packages-in-editable-mode-to-ease-development).

### Setting Up Pre-commit for Formatting and Static Checks

1. **Install Pre-commit**:
```bash
pip install pre-commit
```

2. **Configure Pre-commit**:
```bash
pre-commit install
```

This sets up `pre-commit` in your local environment to run the same static checks as the `static` GitHub Action.

### Scripts
make help

### Credentials
[user manual](https://andgineer.github.io/garmin-daily/en/#credentials)

## Coverage report
* [Codecov](https://app.codecov.io/gh/andgineer/garmin-daily/tree/main/src%2Fgarmin_daily)
* [Coveralls](https://coveralls.io/github/andgineer/garmin-daily)