File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -60,14 +60,21 @@ def local_athletes(self):
6060 yield json .load (f )
6161
6262
63- def get_activity_by_id (self , id ):
63+ def get_activity_by_id (self , id , include_all_efforts = False ):
6464 """Get activity by ID
65+
66+ Parameters
67+ ----------
68+ id: int
69+ activity_id
70+ include_all_efforts: bool (default=False)
71+ Include all segment efforts in the response
6572
6673 Returns
6774 -------
6875 activity: Activity ojbect
6976 """
70- return Activity (self .activities_api .get_activity_by_id (id ))
77+ return Activity (self .activities_api .get_activity_by_id (id , include_all_efforts = include_all_efforts ))
7178
7279 def get_logged_in_athlete_activities (self , after = 0 , list_activities = None ):
7380 """List all activities after a given date
You can’t perform that action at this time.
0 commit comments