stravalib.client.Client.get_activity_photos¶
- Client.get_activity_photos(activity_id, size=None, only_instagram=False)[source]¶
Gets the photos from an activity.
https://developers.strava.com/docs/reference/#api-Activities
- Parameters
activity_id (int) – The activity for which to fetch photos.
size (int) – the requested size of the activity’s photos. URLs for the photos will be returned that best match the requested size. If not included, the smallest size is returned
only_instagram (bool) – Parameter to preserve legacy behavior of only returning Instagram photos.
- Returns
An iterator of
stravalib.model.ActivityPhotoobjects.- Return type
BatchedResultsIterator