Exception thrown when .download_activity method is run:
Traceback (most recent call last):
File "c:\Users\darroni\OneDrive\Source\Python\fitness\garmindl.py", line 50, in <module>
client.download_activity(activity_id, filename, dl_fmt=client.ActivityDownloadFormat.ORIGINAL)
TypeError: Garmin.download_activity() got multiple values for argument 'dl_fmt'
On this code:
for activity in activities:
if "Zwift" not in activity["activityName"] and "virtual_ride" in activity["activityType"]["typeKey"]:
activity_id = activity["activityId"]
filename = f"{folder}\\{activity_id}.fit"
client.download_activity(activity_id, filename, dl_fmt=client.ActivityDownloadFormat.ORIGINAL)
Exception thrown when .download_activity method is run:
On this code: