code: def get_activity(self, activity_id, include_all_efforts=False):
          
          raw = self.protocol.get('/activities/{id}', id=activity_id,
                                  include_all_efforts=include_all_efforts)
          return model.Activity.deserialize(raw, bind_client=self)
docs: Gets specified activity.
  
          Will be detail-level if owned by authenticated user; otherwise summary-level.
  
          http://strava.github.io/api/v3/activities/#get-details
  
          :param activity_id: The ID of activity to fetch.
          :type activity_id: int
  
          :param inclue_all_efforts: Whether to include segment efforts - only
                                     available to the owner of the activty.
          :type include_all_efforts: bool
  
          :rtype: :class:`stravalib.model.Activity`