Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added kml download functionality #58

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

letsgoexploring
Copy link

  1. Added kml extension to supported_export_formats and format_suffix in backup.py
  2. Add kml format to download() function in backup.py
  3. Added def get_activity_kml() function in garminclient.py
  4. Updated doc string for incremental_backup() in incremental_backup.py to include kml
  5. Updated README.md

Copy link
Owner

@petergardfjall petergardfjall left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry for the very late response! Cool addition, I'd just like to see a change in the function signature of incremental_backup.

@@ -16,16 +15,15 @@
def incremental_backup(username: str,
password: str = None,
backup_dir: str = os.path.join(".", "activities"),
export_formats: List[str] = None,
export_formats: str = 'ALL',
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is supposed to be a list of str, so I would suggest switching the type annotation back.
We could have the default be supported_export_formats instead.

@dprebyl dprebyl mentioned this pull request May 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants