Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/andgineer/garmin-daily
- Owner: andgineer
- License: mit
- Created: 2022-12-16T07:46:07.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-05-29T04:24:13.000Z (8 months ago)
- Last Synced: 2024-05-29T17:30:11.319Z (8 months ago)
- Topics: garmin, google, google-sheets, python
- Language: Python
- Homepage:
- Size: 1.05 MB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
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.shIt 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)