stravalib.client.Client.get_activity_comments#
- Client.get_activity_comments(activity_id: int, markdown: bool = False, limit: int | None = None) BatchedResultsIterator[ActivityComment] [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:
class – An iterator of
stravalib.model.ActivityComment
objects.- Return type:
BatchedResultsIterator