code: def get_activity_by_name(self, activity, category_id = None, resurrect = True):
          
          category_id = category_id or 0
          return self.conn.GetActivityByName(activity, category_id, resurrect)
docs: returns activity dict by name and optionally filtering by category.
             if activity is found but is marked as deleted, it will be resurrected
             unless told otherwise in the resurrect param