VEU.WathBody/1-docs/4-modules/m07-fit-fetch/SKILL.md

20 lines
1.1 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
name: m07-fit-fetch
description: Server.WatchBody.Fetch — неофициальный клиент Garmin Connect (SSO), --mode fetch, дедупликация fit_file_id
---
# m07-fit-fetch
Проект `Server.WatchBody.Fetch`: `GarminClient` — SSO-логин по
контракту `garminconnect` (embed → csrf → signin → ticket → OAuth1 →
Bearer), список активностей, скачивание .fit; `FitFetcher` — цикл
забора: фильтр `strength_training` → `Garmin.DownloadDir` → разбор и
запись конвейером m06 → дедуп двух уровней (файл-кэш по activityId +
`fit_file_id` в БД). Режим `--mode fetch` в единой точке входа CLI,
коды 0/1/2; расписание — внешний планировщик ОС (ОВ-4, 15 мин).
HttpMessageHandler инъецируется — тесты против фейкового Garmin.
- Требования: [module_reqs.md](module_reqs.md)
- План работ: [readme.md](readme.md)
- Спецификации: [api_specs/](api_specs/)