stravalib.client.Client.get_activity_comments

Client.get_activity_comments(activity_id, markdown=False, limit=None)[source]

Gets the comments for an activity.

https://developers.strava.com/docs/reference/#api-Activities-getCommentsByActivityId

Parameters
  • activity_id (int) – The activity for which to fetch comments.

  • markdown (bool) – Whether to include markdown in comments (default is false/filterout).

  • limit (int) – Max rows to return (default unlimited).

Returns

An iterator of stravalib.model.ActivityComment objects.

Return type

BatchedResultsIterator