Implement querying daily lifestyle logging data#304
Implement querying daily lifestyle logging data#304cyberjunky merged 1 commit intocyberjunky:masterfrom
Conversation
WalkthroughAdded support for fetching daily lifestyle logging data from the Garmin Connect API. The implementation introduces a new Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes
Pre-merge checks and finishing touches✅ Passed checks (3 passed)
✨ Finishing touches
🧪 Generate unit tests (beta)
Tip 📝 Customizable high-level summaries are now available!You can now customize how CodeRabbit generates the high-level summary in your pull requests — including its content, structure, tone, and formatting.
Example:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
📜 Review details
Configuration used: Path: .coderabbit.yaml
Review profile: ASSERTIVE
Plan: Pro
📒 Files selected for processing (2)
demo.py(2 hunks)garminconnect/__init__.py(2 hunks)
🧰 Additional context used
📓 Path-based instructions (1)
garminconnect/**
⚙️ CodeRabbit configuration file
garminconnect/**: - prefer modern Python patterns (3.10+)
- use type hints consistently
- follow PEP 8 and modern Python conventions
- suggest performance improvements where applicable
Files:
garminconnect/__init__.py
🧬 Code graph analysis (1)
demo.py (1)
garminconnect/__init__.py (1)
get_lifestyle_logging_data(1307-1314)
🔇 Additional comments (3)
demo.py (2)
156-159: Menu option wiring looks goodNew option is consistent with existing style and numbering; text and key align with the dispatch mapping.
3236-3241: Dispatch mapping correctly addedExecutes api.get_lifestyle_logging_data for today via call_and_display with clear labels. No issues spotted.
garminconnect/__init__.py (1)
280-283: New endpoint constant fits naming/placement conventionsConsistent with other URL attributes. No further changes needed.
|
Thanks for this nice addition! |
This PR implements querying lifestyle logging service to get daily lifestyle logging data, this is the initial commit to implement #291
Summary by CodeRabbit
Release Notes