Skip to content

Commit b9f0342

Browse files
committed
fix docstring
1 parent 8143a20 commit b9f0342

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

garminconnect/__init__.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -963,6 +963,7 @@ def get_activities(self, start: int = 0, limit: int = 20, activitytype: Optional
963963
Return available activities.
964964
:param start: Starting activity offset, where 0 means the most recent activity
965965
:param limit: Number of activities to return
966+
:param activitytype: (Optional) Filter activities by type
966967
:return: List of activities from Garmin
967968
"""
968969

@@ -1371,8 +1372,11 @@ def get_activity_gear(self, activity_id):
13711372
return self.connectapi(url, params=params)
13721373

13731374
def get_gear_ativities(self, gearUUID, limit = 9999):
1374-
"""Return activities where gear uuid was used."""
1375-
1375+
"""Return activities where gear uuid was used.
1376+
:param gearUUID: UUID of the gear to get activities for
1377+
:param limit: Maximum number of activities to return (default: 9999)
1378+
:return: List of activities where the specified gear was used
1379+
"""
13761380
gearUUID = str(gearUUID)
13771381

13781382
url = f"{self.garmin_connect_activities_baseurl}{gearUUID}/gear?start=0&limit={limit}"

0 commit comments

Comments
 (0)