stravalib.client.Client.get_both_following

Client.get_both_following(athlete_id, limit=None)[source]
Retrieve the athletes who both the authenticated user and the indicated

athlete are following.

This endpoint was removed by Strava in Jan 2018.

Parameters
  • athlete_id (int) – The ID of the other athlete (for follower intersection with current athlete)

  • limit (int) – Maximum number of athletes to return. (default unlimited)

Returns

An iterator of stravalib.model.Athlete objects.

Return type

BatchedResultsIterator